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 hashes)
Built Distribution
Close
Hashes for backupdir-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e84165a7dbb52dcbb5d72020382ec278a94c2f6753c4e78bb29317ee92800986 |
|
MD5 | 6d27a4e6f89abf6fe9c56d58c5577026 |
|
BLAKE2b-256 | 7758b75ed6d9a27f6e01e4ae2b749efdd531d52f2b8a20e402f4b11566e455a7 |