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
git add $(git status | grep "modified:" | cut -d " " -f 4) | |
git rm $(git status | grep "deleted:" | cut -d " " -f 5) |
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
svn rm $(svn status | grep "^\!" | cut -d " " -f 8) | |
svn add $(svn status | grep "^?" | cut -d " " -f 8) |
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
find . -type f -name "*your-pattern*" | while read oldname; do newname=`echo $oldname | sed 's/your-pattern/substitute-value/g'`; cp $oldname $newname; done |