Last active
January 27, 2017 17:04
-
-
Save lazevedo/f96e1a10af1678ea1e2f24e0f3061bf6 to your computer and use it in GitHub Desktop.
Renomeação de componentes
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
# sintaxe para OSX | |
# cd src/app/common ou cd src/app/components | |
cp -R old-component new-component | |
cd new-component | |
rename 's/old-component/new-component/g' | |
sed -i '' -- 's/old-component/new-component/g' new-component.* | |
sed -i '' -- 's/oldComponent/newComponent/g' new-component.* | |
sed -i '' -- 's/OldComponent/NewComponent/g' new-component.* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment