New HowTo on Local Mirrors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2009-04-04 at 18:00 -0400, Phil Schaffner wrote:
> On Sat, 2009-04-04 at 14:24 -0700, Akemi Yagi wrote:
> ...
> > It is also a one-liner.  For example:
> > 
> > lftp -e 'open http://<some.site>/centos/ && mirror -c --delete  5.3 && exit'
> > 
> > will mirror the whole 5.3 under the remote centos/ directory.
> 
> Well Duhhh... as my daughter would say. :-)
> 
> My work blocks rsync totally except using ssh login, which most mirrors
> don't support.  The problem I have had with lftp is sometimes convincing
> it not to re-download perfectly good files if the time-stamp is off, and
> at the same time to sync things like repodata that do change.  Lately
> I've been keeping the master copy at home and using rsync with ssh to
> update the work copy to bypass all that.  Will dig up my old scripts at
> work and do an update to cover lftp.
> 
> Thanks for the comments.
> 
> Regards,
> Phil
-----

There is already a How To on this on the Wiki!

JohnStanley



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Users]     [CentOS Virtualization]     [Linux Media]     [Asterisk]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]     [Project Hail Cloud Computing]

  Powered by Linux