Hi,
lftp (http://lftp.yar.ru/) allows you to do this with it's
mirror/reverse mirror feature.
It can also deal with the removal of remote or local files, and has a
ton of options for the mirror feature.
Marc
On Tue, 8 Feb 2011 11:42:17 +0000, Gavin McCullagh wrote:
> 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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!