Snippet #431
Fixed a bunch of broken absolute paths in nearly 5,000 PHP files with a handy one-liner: find . -name '*.php' -exec perl -i -p -e 's/old_path/new_path/g' {} \;
Fixed a bunch of broken absolute paths in nearly 5,000 PHP files with a handy one-liner: find . -name '*.php' -exec perl -i -p -e 's/old_path/new_path/g' {} \;