Created
July 24, 2015 06:16
-
-
Save astail/fcb0c53cd6be319e54cb to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/sh | |
for f in GR*; | |
do | |
mv $f ${f/GR[0-9][0-9]_/''}; | |
done | |
for f in 2015[0-9]*; | |
do | |
mv $f ${f/_*[0-9]*_/_}; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment