bin/bog: add guidance

This commit is contained in:
xeruf 2022-11-23 10:09:04 +01:00
parent 31095fd744
commit 9bcf6c91da
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
#!/bin/sh -e #!/bin/sh -e
# Simple backup with borg # Simple backup with borg
if test $# -eq 0 if test $# -eq 0
then borg list --format "{barchive:40} Created {time}{NL}" then echo "To backup: bog [prefix_] folder"
borg list --format "{barchive:40} Created {time}{NL}"
exit $? exit $?
fi fi
while test $# -gt 0; do while test $# -gt 0; do