A simple backup utility for folders and files.
Project description
muckup
A simple backup utility built with Python and Click.
Installation
pip install muckup
or
git clone https://github.com/manorajesh/pyty.git
pip install -r requirements.txt
bin/muckup
Usage
muckup [-dntHi] SOURCE DESTINATION
Simply type in the source path (can be relative) and destination path (can also be relative). The script will copy everything in the source (or the entire file) and copy it to the destination with the default name (backup-%Y-%m-%d_%H:%M:%S
). Note: when copying one file, the extension will not be preserved.
Command Option Help
-d, --dry-run
: Run the command without actually copying or pasting files (use for testing purposes)
-n, --name TEXT
: Change the default name from backup
to any string
-t, --timestamp
: Remove timestamp from the name
-H
: Dereference symbolic links (i.e. copy files and/or folders pointed to by symbolic links)
-i
: Request a (y/n)
confirmation before preforming backup command (WIP)
-g TEXT
: Change timestamp format using the time.strftime directives.
-h, --help
: Show this message in shorter form.
Contents of requirements.txt
click==8.1.3
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
Built Distribution
File details
Details for the file muckup-0.2.tar.gz
.
File metadata
- Download URL: muckup-0.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27d3aa612f31e625310a3bfef9c05d194719125a31cc7922140e958ad17cb20b |
|
MD5 | 6999dadd06fddc58adf8bff042fd7c10 |
|
BLAKE2b-256 | 418e36d89404312bd6153476425ee39a759da2249b4d2ac1dadee3ec75e93880 |
File details
Details for the file muckup-0.2-py3-none-any.whl
.
File metadata
- Download URL: muckup-0.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94726aec4ba226406d1eab6fa4e09aa2715fab85613b7f2d39ffd57c34879d20 |
|
MD5 | d7abfa5861a9a694a508b6b4575ef15f |
|
BLAKE2b-256 | e42acf2aa721c1caebed2bae1e50635ae78171d253b8d3e4d478cae846b93734 |