Skip to content

Instantly share code, notes, and snippets.

@teejayvanslyke
Created July 8, 2009 19:54
Show Gist options
  • Save teejayvanslyke/143131 to your computer and use it in GitHub Desktop.
Save teejayvanslyke/143131 to your computer and use it in GitHub Desktop.
#!/bin/bash
for file in *; do
mv $file "$1_$file"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment