A set of supplementary commands to be used with snapper
Project description
A set of subcommands to supplement snapper usage. Tested only on Ubuntu 15.10 (bug reports welcome!).
usage: snapperS [-h] [-d DIRECTORY] {cat,delete} ... snapperS: A variety of supplemental snapper subcommands optional arguments: -h, --help show this help message and exit -d DIRECTORY, --directory DIRECTORY Directory containing the snapshots subcommands: cat to run cat on a file from a specific snapshot. delete to delete files from either all snapshots or a range of snapshots. {cat,delete}
Subcommands
usage: snapperS cat [-h] -f FILENAME -s SNAPSHOT optional arguments: -h, --help show this help message and exit -f FILENAME, --filename FILENAME The file to cat -s SNAPSHOT, --snapshot SNAPSHOT The snapshot to view
usage: snapperS delete [-h] -f FILENAME [-r RANGE] [--recursive] optional arguments: -h, --help show this help message and exit -f FILENAME, --filename FILENAME Delete a file from all past snapshots. -r RANGE, --range RANGE The range of snapshots to delete the file from in the form of startPoint..endPoint (e.g. 2..5) --recursive Delete recursively (i.e. a folder)
Installation
pip install snapperS
or
git clone https://github.com/ddworken/snapperS.git cd snapperS python setup.py install
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
snapperS-0.2.0.tar.gz
(8.2 kB
view hashes)