On Tue, Nov 23, 1999 at 04:44:41PM +0100, Tomas Cernaj wrote
> Hi all,
> 
> I'm desperately looking for a program that synchronizes files on
> different computers via ftp (or possibly other methods?), whenever you
> call it by hand.
> It should work like omirr (but not online...), that is, without
> something like a master directory as with rdist(1). It should sync the
> files by their time stamps.
> 
> Background: I'm working with my PC at home, but I need the files also at
> university to go on with the work. I have access to my directory at
> univ. via ftp or telnet.
> 
> Does anyone of you know such a prog? Thanks a lot!
> 

I use lftp for things like this.  It is scriptable via stdin or a 
script file (lftp -f script_file) and has a simple mirror command 
that seems to work.

E.g., to mirror slink-proposed-updates:
$ lftp ftp.debian.org <<END
cd /pub/debian/dists
mirror -ev slink-proposed-updates/ slink-proposed-updates/
END

or, as a one-liner,
$ lftp -e 'mirror -ev /pub/debian/dists/slink-proposed-updates/ 
/my/archive/slink-proposed-updates' ftp.debian.org


John P.
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
"Oh - I - you know - my job is to fear everything." - Bill Gates in Denmark

Reply via email to