Python script copies the source directory (with all files and subdirectories) to the specified location and zips it.
Project description
backupdir
BackupDir (backup directory). The program copies the source directory (with all subdirectories) to the specified location and zips it.
Setup
https://pypi.org/project/backupdir/
pip install backupdir
Example1:
import backupdir
# ARCHIVE LOCAL
SOURCE_DIR = '' # use current dir when SOURCE_DIR = ''
TARGET_DIR = "D:\\TEMP\\backup"
backupdir.archive_local(SOURCE_DIR, TARGET_DIR)
Documentation
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
backupdir-1.0.0.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file backupdir-1.0.0.tar.gz
.
File metadata
- Download URL: backupdir-1.0.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bcc9ac9e14ebb48e86b2ecfa2499e4b4905e7f32f0951928c267ad13977b713 |
|
MD5 | 10d9bd6d3840d11d54ed9dde93dd7698 |
|
BLAKE2b-256 | 88e125e93af7f236b1699487614ceb774daf81c2bc40464f6d7f93f2fa682325 |
File details
Details for the file backupdir-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: backupdir-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e84165a7dbb52dcbb5d72020382ec278a94c2f6753c4e78bb29317ee92800986 |
|
MD5 | 6d27a4e6f89abf6fe9c56d58c5577026 |
|
BLAKE2b-256 | 7758b75ed6d9a27f6e01e4ae2b749efdd531d52f2b8a20e402f4b11566e455a7 |