Open up a SSH session as user that is the owner of the files
Code:
cd ../path/to/start/the/recurse
$ find $PWD -type f -name "*.php"|more
look the files up
user manual command
$ man find
cat <FILENAME>
nano (or server editor you want to use) <FILENAME>
edit the file and save.
example:
Code:
barry@{}:~/www$ find $PWD -type f -name "*.php"|more
barry@{}:~/www$ find $PWD -type f -name "database.php"|more
/home/barry/www/{}/CodeIgniter_2.0.2/application/config/database.php
/home/barry/www/{}/CodeIgniter_2.0.2/application/config/database.php
/home/barry/www{}/CodeIgniter_2.0.2/application/config/database.php
/home/barry/www{}/CodeIgniter/application/config/database.php
/home/barry/www/{}/sortAlist/database.php
/{server paths omitted}/
Using a terminal should not be grunt work ...