Created
June 3, 2014 03:45
-
-
Save bds/77d63dbbbd2b338c72d6 to your computer and use it in GitHub Desktop.
find, xargs, grep and sed
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 . -name *spec.rb |xargs grep -l 86400| xargs sed -i '' 's/86400/10/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment