Skip to main content

Wrapper for FastCopy https://github.com/FastCopyLab/FastCopy

Project description

PytonWrapper for GitHub - FastCopyLab/FastCopy

Very easy to use:

pip install PyCopyFast
        pathfastcopy = r"C:\path\fcp.exe"

        path1 = "c:\\blabla"

        path2 = "c:\\blabla2"

        asz = (

            FastCopy(pathfastcopy)

            .force_close()

            .no_confirm_del()

            .force_start()

            .error_stop("=FALSE", join_value=True)

            .speed("full")

            .log("=FALSE", join_value=True)

            # .srcf

            .to(path2)

            .cmd_diff(path1)

            .r_subprocess_run()

        )

        for xx in asz.stdout.decode("utf-8", "ignore").splitlines():

            print(xx)

Make sure to call the cmd functions

(cmd_noexist_only, cmd_diff, cmd_update, cmd_force_copy, cmd_sync, cmd_move, cmd_delete) right before the XXXXrun() function

Otherwise, it might now work.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyCopyFast-0.21.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

PyCopyFast-0.21-py3-none-any.whl (9.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page