Skip to main content

Python script copies the source directory (with all files and subdirectories) to the specified location and zips it.

Project description

backupdir

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

https://best-itpro.ru/news/backupdir/

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

backupdir-1.0.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

backupdir-1.0.0-py3-none-any.whl (3.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