Fix archive location

This commit is contained in:
Sayantan Santra 2022-10-12 18:30:14 -05:00
parent 4e6544796a
commit 2a16180368

View file

@ -180,7 +180,7 @@ msg=$(cat versions.json | tail -n+2 | head -n-1 | cut -c3- | sed "s/\"//g" | sed
# Do some cleanup # Do some cleanup
mkdir -p archive mkdir -p archive
mv YouTube_*.apk archive/ mv YouTube_*.apk archive/
find /srv/backups -maxdepth 1 -type f -printf '%Ts\t%P\n' \ find ./archive -maxdepth 1 -type f -printf '%Ts\t%P\n' \
| sort -rn \ | sort -rn \
| tail -n +6 \ | tail -n +6 \
| cut -f2- \ | cut -f2- \