Created
April 6, 2016 10:39
-
-
Save masamitsu-konya/4bd38e0509780258f092379693bc826d to your computer and use it in GitHub Desktop.
Terminalを使ってファイル名を一括置換する方法 ref: http://qiita.com/masamitsu-konya/items/f4bf7b4c33902a5b5279
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
cd app/assets/stylesheets/ |
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 . -name "*.css" | while read file; do mv $file ${file/.css/.scss}; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment