View Single Post
Old 12-30-2015, 09:08 AM  
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
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 ...
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote