Python backup utility
Project description
# backutil
Python Backup Utility
## Description:
`backutil` is a wrapper for the python `tarfile` library. As `tarfile` is a standard Python library, using `backutil` will provide a cross-platform and simple backup utility.
## Installation:
Install using `pip`:
`sudo pip3 install backutil`
## Usage:
```
❯ backutil --help
usage: backutil [-h] --path PATH [PATH ...] --dest DEST [-z] [-v] [-q]
Python backup utility
optional arguments:
-h, --help show this help message and exit
--path PATH [PATH ...]
path(s) to backup
--dest DEST destination of backup
-z, --zip use gzip to compress the backup file
-v, --verbose enable verbose output
-q, --quiet suppress output
```
### Example commands:
Backup two files to a .tar archive:
`❯ backutil --path tmp.txt tmp2.txt --dest ~/Documents/file.tar`
Backup and compress to .tar.gz archive:
`❯ backutil --path tmp.txt tmp2.txt --dest ~/Documents/file.tar.gz -z`
Backup to a .tar archive verbosely:
`❯ backutil --path tmp.txt tmp2.txt --dest ~/Documents/file.tar -v`
Backup and compress to a .tar.gz archive, supressing output:
`❯ backutil --path tmp.txt tmp2.txt --dest ~/Documents/file.tar.gz -z -q`
Python Backup Utility
## Description:
`backutil` is a wrapper for the python `tarfile` library. As `tarfile` is a standard Python library, using `backutil` will provide a cross-platform and simple backup utility.
## Installation:
Install using `pip`:
`sudo pip3 install backutil`
## Usage:
```
❯ backutil --help
usage: backutil [-h] --path PATH [PATH ...] --dest DEST [-z] [-v] [-q]
Python backup utility
optional arguments:
-h, --help show this help message and exit
--path PATH [PATH ...]
path(s) to backup
--dest DEST destination of backup
-z, --zip use gzip to compress the backup file
-v, --verbose enable verbose output
-q, --quiet suppress output
```
### Example commands:
Backup two files to a .tar archive:
`❯ backutil --path tmp.txt tmp2.txt --dest ~/Documents/file.tar`
Backup and compress to .tar.gz archive:
`❯ backutil --path tmp.txt tmp2.txt --dest ~/Documents/file.tar.gz -z`
Backup to a .tar archive verbosely:
`❯ backutil --path tmp.txt tmp2.txt --dest ~/Documents/file.tar -v`
Backup and compress to a .tar.gz archive, supressing output:
`❯ backutil --path tmp.txt tmp2.txt --dest ~/Documents/file.tar.gz -z -q`
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for backutil-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f760ab937c9827a71c08850b56e23e16ddf2b27c4b8935eba2aa000081ac997 |
|
MD5 | dfc55223fed822868f9a23abe692894f |
|
BLAKE2b-256 | b504e979a9f875b7aece0760f8775a92e9753dcb3838d9f6b2eb860692c2aa0a |