LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

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

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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell