mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 21:20:50 +00:00
Backup: add script to list backups
This commit is contained in:
parent
8f19bc32d7
commit
578199a4eb
7
Backup/listBackups.sh
Executable file
7
Backup/listBackups.sh
Executable file
@ -0,0 +1,7 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user