Commits


Bump version to 2.0 and add copyright year


Combine -k and -p options The -p option previously required the -k option, which was only meaningful when used with -p. This combines them, making -p take the number of snapshots to keep as its argument. Note that the script does not check whether -p's argument is valid, so an invalid sequence of options such as "-p -t" will produce either a confusing error message or unexpected behavior.


Suppress a spurious shellcheck warning


Use tabs for indentation


Remove a stray character from an error message


Remove a stray character from doc comment


Add a version number


Update readme


Improve documentation comments and usage text


Fix spacing snapshots.sh was somehow inadvertently written with a mix of spaces and tabs for indentation. Retabbed with four-space tabs.


Refactor script


Improve documentation


Fix license file permissions


Fix -p -r behavior Using the prune command with the recursive flag resulted in the script only pruning snapshots of the specified filesystem, ignoring their children.


Remove dead code


Add readme


Add license


Add script and sample crontab