Skip to content

Instantly share code, notes, and snippets.

@masamitsu-konya
Created April 6, 2016 10:39
Show Gist options
  • Save masamitsu-konya/4bd38e0509780258f092379693bc826d to your computer and use it in GitHub Desktop.
Save masamitsu-konya/4bd38e0509780258f092379693bc826d to your computer and use it in GitHub Desktop.
Terminalを使ってファイル名を一括置換する方法 ref: http://qiita.com/masamitsu-konya/items/f4bf7b4c33902a5b5279
cd app/assets/stylesheets/
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