Search and Replace Strings in Files Under a Certain Directory

As simple as:
$ find thePath -type f -name theFileNamePattern |xargs \
  perl -e "s/toBeReplacedString/newString/g" -pi

Popular posts from this blog

JEP 115: AES-GCM CipherSuites in JDK 8

TLS Server Name Indication Extension and Unrecognized_name

JEP 114: TLS SNI Extension - SunJSSE Behavior Changes