Fix cleanup command

This commit is contained in:
Sayantan Santra 2022-10-18 20:10:12 -05:00
parent dc714b6b47
commit 45da7058df

View file

@ -220,6 +220,6 @@ mv YouTube_ReVanced_nonroot_$timestamp.apk archive/
mv YouTube_Music_ReVanced_nonroot_$timestamp.apk archive/
find ./archive -maxdepth 1 -type f -printf '%Ts\t%P\n' \
| sort -rn \
| tail -n +6 \
| tail -n +7 \
| cut -f2- \
| xargs -r -I {} rm {}
| xargs -r -I {} rm "./archive/{}"