Created
July 5, 2011 10:39
-
-
Save nadnerb/1064636 to your computer and use it in GitHub Desktop.
rename files in directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in `ls`; do FILE=`echo $i | sed 's/change/tothis/g'`; mv $i $FILE ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment