Skip to content

Instantly share code, notes, and snippets.

@anhang
Created August 12, 2011 05:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anhang/1141511 to your computer and use it in GitHub Desktop.
Save anhang/1141511 to your computer and use it in GitHub Desktop.
Unix Script to randomize file names
for i in *
do
mv "$i" "$RANDOM.JPG"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment