Skip to content

Instantly share code, notes, and snippets.

@uurtech
Created May 16, 2020 07:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uurtech/43eec3d3dbf29825afe2efcbe6935d51 to your computer and use it in GitHub Desktop.
Save uurtech/43eec3d3dbf29825afe2efcbe6935d51 to your computer and use it in GitHub Desktop.
Replace html tag recursively on linux
find . -type f -not -path '*/\.*' -exec sed -i -e "s@<base href=\"\/\/www.mydomain.com.\"\/>@\/@" {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment