Last active
March 31, 2016 18:30
-
-
Save burnsra/0a7b5ab22967e2d521db8a07280c917c to your computer and use it in GitHub Desktop.
Xcode Project Rename
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 $(pwd) ! -path . -type d -name "$1*" -print0 | xargs -0 rename -S "$1" "$2" | |
find $(pwd) ! -path . -type f -name "$1*" -print0 | xargs -0 rename -S "$1" "$2" | |
ack --literal --files-with-matches "$1" --print0 | xargs -0 sed -i "" "s/$1/$2/g" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment