Skip to content

Instantly share code, notes, and snippets.

@jamiecurran
Created July 31, 2013 17:14
Show Gist options
  • Save jamiecurran/6124037 to your computer and use it in GitHub Desktop.
Save jamiecurran/6124037 to your computer and use it in GitHub Desktop.
find with some sed.
find . -name '*.load' -type f -exec sed -i.bak "s/lib\/apache2\/modules/libexec\/apache2/g" {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment