Skip to main content

folder_backup

Script to back up one or several folders into other folders:

  • replicating the source folders structure
  • not copying files already in destination (better if md5=True)
  • moving (not copying) files already present in the destination path (requires md5=True)
  • delete (delete=True), or not (delete=False) files from destination that are not present in source
  • copy new files from source into destination verifying the copy (requires md5=True)
  • if a file with the same name (full path) already exists in destination, the parameter if_exists choose how to proceed:
    • 'stop' will not copy or move the file (skip)
    • 'both' will keep both files, adding a numeric suffix to the new file
    • 'overwrite' will overwrite the file in destination

It is possible to prepare a simulation of the actions to be done, using the paramenter simulate=True.
This mode only create the report in Excel format, that can be reviewed and later excecuted using the function execute_actions.

Further documentation and examples will come later...

Release files for folder-backup 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for folder-backup 0.1.6
File Size Uploaded
folder_backup-0.1.6.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for folder-backup 0.1.6
File Interpreter ABI Platform
folder_backup-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 20.1 kB

Release files / folder_backup-0.1.6.tar.gz

Download URL folder_backup-0.1.6.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b59c7e011cca40398ae281645b3641096858b546a28a269b3608d2f299cec6ef
BLAKE2b-256 checksum
How to use checksums
9e7630a7483e5b5d682dd3ea5a1ebbaeeb3ee538f1daac509257e542743973da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / folder_backup-0.1.6-py3-none-any.whl

Download URL folder_backup-0.1.6-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a0c1d3dd8b82a0fbfc125aabf362d15c41a8278bbb4a66eca942d5a93691b44
BLAKE2b-256 checksum
How to use checksums
e6a1a34de28f04841d9f916cd2e84ddeedcc49409de8a6cc8429801cd4e2dea9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page