CLI tool for Syncing over FTP was Re: [ILUG] NFS for server

Gavin McCullagh gmccullagh at gmail.com
Tue Feb 8 11:42:17 GMT 2011


Hi,

On Mon, 07 Feb 2011, Gareth 'bigbro' Eason wrote:

> For backing up files, rsync is far more effective than FTP as it supports
> checksumming, partial downloads, partial deltas, file attribute and
> timestamp preservation and a whole lot more.

While we're on the subject, does anyone know of a decent command line tool
which will allow syncing over FTP, ie sync a local copy with a remote
directory only over FTP.  

It's easy (if a little wasteful) to do a full recursive GET each time.
However, where a file is deleted off the remote copy, it won't be deleted 
locally.  I guess I could wipe out the local copy (I am downloading the
whole thing again after all) but this all seems very wasteful.

Is there a better solution (which could be used in a shell script)?  ncftp
doesn't seem to offer it anyway.  I plan using subversion to version the
local copy.

Gavin



More information about the ILUG mailing list