master
Bel LaPointe 2022-03-18 11:49:30 -06:00
parent 3cca493648
commit 7e8ac6bbd1
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
all_backups=($(find /mnt/save -not -path '*/\.*' -type f | sort -r))
for ((i=${#all_backups[@]}-1; i>50; i--)); do
echo rm old backpu ${all_backups[i]} >&2
rm -f ${all_backups[i]} || true
done
for b in "${all_backups[@]}"; do