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
Metadata
Release files for muckup 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| muckup-0.2.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| muckup-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / muckup-0.2.tar.gz
| Download URL | muckup-0.2.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27d3aa612f31e625310a3bfef9c05d194719125a31cc7922140e958ad17cb20b
|
|
BLAKE2b-256 checksum How to use checksums |
418e36d89404312bd6153476425ee39a759da2249b4d2ac1dadee3ec75e93880
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.9
|
Release files / muckup-0.2-py3-none-any.whl
| Download URL | muckup-0.2-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94726aec4ba226406d1eab6fa4e09aa2715fab85613b7f2d39ffd57c34879d20
|
|
BLAKE2b-256 checksum How to use checksums |
e42acf2aa721c1caebed2bae1e50635ae78171d253b8d3e4d478cae846b93734
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.9
|