Skip to content

Instantly share code, notes, and snippets.

@anhang
Created August 12, 2011 05:22
Show Gist options
  • 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