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

TLS Server Name Indication Extension and Unrecognized_name

JEP 114: TLS SNI Extension - Virtual Servers Dispatcher

JEP 115: AES-GCM CipherSuites in JDK 8