mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-25 20:28:37 -06:00
Fix cleanup command
This commit is contained in:
parent
dc714b6b47
commit
45da7058df
1 changed files with 2 additions and 2 deletions
|
@ -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/{}"
|
||||
|
|
Loading…
Reference in a new issue