Get more subvolume paths.
Add prune functionality.
Use syslog for output
A snapshotting and snapshot pruning tool for btrfs volumes.
# snapmgr help
usage: snapmgr [subcommand]
subcommands:
snapmgr help
print this help
snapmgr take <volume> <path>
take a snapshot of <volume>, placing it in directory <path>
snapmgr prune <path>
prunes old snapshots in directory <path>
Dependencies:
$ PREFIX=$prefix meson build
$ ninja -C build
# ninja -C build install
Copyright (C) 2020 Christopher Vittal chris@vittal.dev
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see [https://www.gnu.org/licenses/][https://www.gnu.org/licenses]