Skip to content

Instantly share code, notes, and snippets.

@andrewvmail
Created May 10, 2018 06:44
Show Gist options
  • Save andrewvmail/136e69b483744bf3f195921664e5de25 to your computer and use it in GitHub Desktop.
Save andrewvmail/136e69b483744bf3f195921664e5de25 to your computer and use it in GitHub Desktop.

find and replace in a folder good for changing ips (kamailio config changing ips)

find ./ -type f -exec sed -i -e 's/AAAA/BBBB/g' {} \;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment