a commandline utility to create file backups
Project description
mkbak.py
mkbak
is a commandline utility to find files and create backups accordingly.
It interfaces with fzf
when finding the files, allowing you to interactively
select what to back up.
Installation
With Pip
pip install --user -U mkbak
Building from source
python3 setup.py sdist bdist_wheel
pip install --user -U .
Usage
- Run
mkbak
to start recursively searching for files to backup from your current directory - For all options, run
mkbak --help
Please note that the --height
argument will be overridden if set to '100' and
the environment variable $FZF_DEFAULT_OPTS
contains --height
set to something
other than '100'
Example
mkbak -vi --path "$folder" -q 'pdf$'
will launch mkbak searching$folder
, query files ending in 'pdf', ignore case distinctions in file names and print out any errors along with files successfully copied
Requirements
- mkbak-iterfzf for the fzf interface
- rich for formatting with
--verbose
- Python^3.7
- Linux
Changelog
See CHANGELOG.md
Bugs
Open an issue or PR
ToDo
- Package for pypi
- Define entry point so the program can be run as
mkbak
- Shell completions
- Add all options to README
Credits
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
mkbak-1.1.1.tar.gz
(5.3 kB
view details)
Built Distribution
mkbak-1.1.1-py3-none-any.whl
(17.4 kB
view details)
File details
Details for the file mkbak-1.1.1.tar.gz
.
File metadata
- Download URL: mkbak-1.1.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bb235fe93c721d9eb0a722f4c8c6da63846a2a6a6ce4fa272ed48e93abb28eb |
|
MD5 | 5511f30ce2fe6889e89fa3b7652c552c |
|
BLAKE2b-256 | 3522f6dfad3e56fedb522d36d64d324e8deb64173f9322612a708fc06e9dbf1c |
File details
Details for the file mkbak-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: mkbak-1.1.1-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f2af907948828f8ee2a5436589b3d93a703242b310e0e23d1127616b038e162 |
|
MD5 | a3196dd715dcb9a5d03615d58d8d0bc2 |
|
BLAKE2b-256 | 4f8f67d2edcdb14581e35e2fe35a5c0a12dbd018b97e739272b472ef702a95f7 |