Comments
 
posted on April 28th 2007, at 00:18
by lunarg
If you are blessed with ssh access to your webhosting, then a world of goodies opens up. One of these is rsync. When installed on your webhosting (which usually is), you can use this instead of ftp to maintain your website.

Rsync is mainly used for syncing two file structures (directories and subdirectories) together. It works by comparing the two structures and check out each directory and files on modified date and time, but also content of the file (using hashes).
While mostly used for backup, this thingy is very handy when maintaining a website. Rather than figuring out which files need to be copied, rsync does it all for you with a single command.

rsync -e ssh -rltDv <local website  ...
 
 
« December 2024»
SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
293031    
 
Links
 
Quote
« You only find out who is swimming naked when the tide goes out. »
Warren Buffett