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

Java™ SE 7 Release Security Enhancements - Weak Cryptography Control

JEP 115: AES-GCM CipherSuites in JDK 8