Created
July 24, 2019 23:22
-
-
Save liamegan/c1981de3e75e0ef057f1320dc165d7e9 to your computer and use it in GitHub Desktop.
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 -D 'exec' LOCATION -name PATTERN -exec sed -i 's/A/B/g' '{}' + | |
``` | |
So for example | |
``` | |
find -D 'exec' ./deploy -name '*.html' -exec sed -i 's/https:\/\/www.pokemontcg.com\//http:\/\/pokemontcg.wethe.work\//g' '{}' + | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment