Created
October 29, 2017 04:36
-
-
Save dylan-chong/a379c45cd2ff498a79a6762eb15877ef to your computer and use it in GitHub Desktop.
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
# Dry run, print out results | |
find * -type f | xargs perl -0p -e 's/from/to/g' | |
# Do replace in files | |
find * -type f | xargs perl -0pi -e 's/from/to/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment