Created
April 3, 2013 11:50
-
-
Save ppworks/5300541 to your computer and use it in GitHub Desktop.
一括置換するときのアレ ref: http://qiita.com/items/f54ea7601c0727c6b0a4
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
find . ! \( -path "./.git*" -or -path "./tmp*" -or -path "*assets*" -or -path "*log*" -or -path "*doc*" \) -type f -print0 | xargs -0 ruby -i -p -e '$_.gsub! %q{hoge}, %q{fugo}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment