Remove old comment
This commit is contained in:
parent
5c5e293d1c
commit
092b5abb18
@ -84,7 +84,6 @@ rm thunderbird-backup-${currdate}.tar.zst
|
||||
mv thunderbird-backup-${currdate}.tar.zst.gpg "$HOME/Nextcloud/backups/"
|
||||
|
||||
# remove more than the last 3 backups
|
||||
#find "$HOME/Nextcloud/backups/" -name "thunderbird-backup-*\.tar.zst.gpg" | sort -r | tail -n +4
|
||||
mapfile -t old_backups < <(find "$HOME/Nextcloud/backups/" -name "thunderbird-backup-*\.tar.zst.gpg" | sort -r | tail -n +4)
|
||||
|
||||
for backup in "${old_backups[@]}"; do
|
||||
|
Loading…
Reference in New Issue
Block a user