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

Java™ SE 7 Release Security Enhancements - Weak Cryptography Control

JSSE Oracle Provider Preference of TLS Cipher Suites

JEP 114: TLS SNI Extension - Virtual Servers Dispatcher