gumatias
12/12/2015 - 2:13 AM

bash shortcut to find and replace a string across all files under a specified dir

bash shortcut to find and replace a string across all files under a specified dir

find . -type f -name '*.js.coffee' -exec sed -i '' s#find#replace#g {} +