View Single Post
Old 2009-09-01, 06:23 PM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
I use rsync to download only the html documents in the directories to my local machine. Then I use my favorite utility (any html editor will do) to do a find and replace and then use rsync to only re-upload the changed files.

SSH into your server,

To download the files.
Code:
rsync -avCP  --progress  --stats --exclude "jpg" --exclude "mpg" USERNAME@YOURDOMAIN.com:/SERVERPATH/TO/DIRECTORIES/ /YOURCOMPUTERS/LOACL/PATH
To upload the files.
Code:
rsync -avCP  --progress  --stats --exclude "jpg" --exclude "mpg" /YOURCOMPUTERS/LOACL/PATH/ USERNAME@YOURDOMAIN.com:/SERVERPATH/TO/DIRECTORIES
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote