Skip to content

Instantly share code, notes, and snippets.

@kaz3w
Last active October 2, 2023 15:14
Show Gist options
  • Save kaz3w/f5ef12aa262649c320951d393eb9953d to your computer and use it in GitHub Desktop.
Save kaz3w/f5ef12aa262649c320951d393eb9953d to your computer and use it in GitHub Desktop.
Replace string with sed
#!/usr/bin/bash
for file in `find . -maxdepth 1 -type f`; do /usr/bin/sed -i s/\"SymbolName\":\".*\",\"T/\"T/g $file
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment