linuxShortcuts/Backup/listBackups.sh

8 lines
200 B
Bash
Raw Permalink Normal View History

2021-03-25 14:26:07 +00:00
if [ $1 ]; then
sudo borg list $1
else
echo
echo "ERROR: Backup folder argument is missing. Use folder name to display backup set or FOLDER_NAME::BACKUP_SET to display files."
echo
fi