Skip to content

Instantly share code, notes, and snippets.

@jozefchmelar
Created April 1, 2019 16:24
Show Gist options
  • Save jozefchmelar/0bb478fdf48d2a8c440753093e81f87b to your computer and use it in GitHub Desktop.
Save jozefchmelar/0bb478fdf48d2a8c440753093e81f87b to your computer and use it in GitHub Desktop.
renames all string occurences in directory and subdir
find ./ -type f -readable -writable -exec sed -i "s/OLD_STRING/NEW_STRING/g" {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment