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 details)

Uploaded Source

Built Distribution

backupdir-1.0.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

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

Hashes for backupdir-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4bcc9ac9e14ebb48e86b2ecfa2499e4b4905e7f32f0951928c267ad13977b713
MD5 10d9bd6d3840d11d54ed9dde93dd7698
BLAKE2b-256 88e125e93af7f236b1699487614ceb774daf81c2bc40464f6d7f93f2fa682325

See more details on using hashes here.

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

Hashes for backupdir-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e84165a7dbb52dcbb5d72020382ec278a94c2f6753c4e78bb29317ee92800986
MD5 6d27a4e6f89abf6fe9c56d58c5577026
BLAKE2b-256 7758b75ed6d9a27f6e01e4ae2b749efdd531d52f2b8a20e402f4b11566e455a7

See more details on using hashes here.

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