Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
find ./ -maxdepth 1 -type f -name "*.jpg" -print0 | sort -z -R | head -z -n 100 | xargs -0 rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment