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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for PyCopyFast-0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5b95cb93dd05f1e9ee15537f1dbf27dcc2d2842aee84ae7354a0c37d5505e51 |
|
MD5 | 4ac8fccd94e9d8091e4bbf55036e9d12 |
|
BLAKE2b-256 | 8d5acfedf4a9177a9f77362cee8ee603815e1a42e9ffc8bcfcca4a0752a44fea |