joined:Sept 17, 2001
Due to a server error we lost the content of 10 of our sites, many of them very, very old. We have been compressing our backups and uploading them the last couple of days. Now that the server is ready, we face a problem: many of the .html, .php and .shtml files have absolute paths that have changed a lot. We have tried to change them like this:
find backupPath -type f | xargs perl -pi -e 's/obscenelyLongOldPath/\/newPath\/public_html\//g'
Thing is, it seems to run for a couple of files and then stops. It doesn't even affect subdirectories. Do you guys know a way to make this? Thanks in advance!