Created
January 13, 2014 21:22
-
-
Save AgentCoop/8408415 to your computer and use it in GitHub Desktop.
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
# Remove the leading capital C letter from PHP filenames | |
for filename in $(find -type f -name "C*.php"); | |
do | |
new=$(echo $filename | sed -r 's/C([A-Z].*\.php)/\1/'); | |
echo $new; | |
git mv $filename $new; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment