Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -master
- -data1
- image.jpgs
- -data2
- image.jpgs
- -data3
- image.jpgs
- -data4
- image.jpgs
- ... and so forth
- for f in *.jpg; do find "$f" -type f -print0 | sort -R | tail -n +50001 | xargs -0 rm; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement