Thread: Server Question
View Single Post
Old 12-30-2008, 09:48 PM  
PR|Jordan
Confirmed User
 
Join Date: Oct 2008
Posts: 244
Ok, I am really not a tech - however, here is something i put together, remember to updatedb first.

Some edits will have to be done for you case
locate *.php | sed 's/\/var\/www\/html/www.domain.com/'

or do

locate *.php | sed 's/\/var\/www\/html/www.domain.com/' >> file.txt
I really wanted to use a recursive LS but couldn't figure out a way to save my life to pull from ls -RD lol
__________________
Jordan Jacobs - OC3 Networks / Pacific Rack - ICQ:1408 1732 - jjacobs[@]pacificrack.com
These deals ROCK!
Dual Core E2180, 2GB DDR2, 250GB SATA-2, 2000GB - $89 /month
Quad Core Q9300, 2GB DDR2, 250GB SATA-2, 2000GB - $129 /month
PR|Jordan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote