Skip to content

Instantly share code, notes, and snippets.

@dipth
Created March 5, 2013 12:16
Show Gist options
  • Save dipth/5089944 to your computer and use it in GitHub Desktop.
Save dipth/5089944 to your computer and use it in GitHub Desktop.
Give all jpg-files a random filename
for i in *.jpg; do mv $i `openssl rand -hex 6`.jpg; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment