Skip to content

Instantly share code, notes, and snippets.

@daniil4udo
Created June 17, 2019 10:38
Show Gist options
  • Save daniil4udo/d72c8addf97624e0e6842e9eb86cedf5 to your computer and use it in GitHub Desktop.
Save daniil4udo/d72c8addf97624e0e6842e9eb86cedf5 to your computer and use it in GitHub Desktop.
Command line Mac cheats
# Replace word in the file / files
perl -pi -w -e 's/SEARCH_FOR/REPLACE_WITH/g;' *.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment