View Single Post
Old 12-05-2006, 07:57 PM  
kuthi123
Confirmed User
 
Join Date: Jan 2005
Posts: 6,478
shell (bash) script help

I am looking for a shell script (using SSH or telnet access) to mass overwrite files (using ./overwrite.sh ) on my server.
for example, I have 100 domains on my server, and each of my server has 10 sub folders under public_html . each sub folder has example.php file and they are having some wrong code.i want to edit the code with new code..
i want shell script should overwrite example.php with new code on all domains all sub folders.Any help here?
kuthi123 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote