diff --git a/Archive/snapshot.sh b/Archive/snapshot.sh index bc4ea4c7..b30b0e69 100755 --- a/Archive/snapshot.sh +++ b/Archive/snapshot.sh @@ -17,6 +17,17 @@ # - a way to maintain a set number of snapshots... # +# handle args... +for arg in "$@" ; do + case $arg in + -h|--help) + # XXX + exit + ;; + esac +done + + SNAPSHOT_DIR=.snapshots SUBVOLUME_DIR=media SNAPSHOT_COUNT=5