Date: Wed, 20 Mar 1996 09:11:38 +0100 From: "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de> To: freebsd-hubs@freefall.FreeBSD.org Subject: Re: mirror and perl Message-ID: <199603200811.JAA19957@gilberto.physik.rwth-aachen.de>
next in thread | raw e-mail | index | archive | help
Ok, I moved to 2.2-current, moved to perl5.002, still I get all my contents of ftp://ftp.freebsd.org/pub/FreeBSD/distfiles written into my /a/FreeBSD directory rather than /a/pub/FreeBSD/distfiles after every nightly running mirror. Here is my mirror file: #!/bin/sh # Run regularly to update the FreeBSD area cd /a/FreeBSD date >mirror.freebsd.out /home/kuku/mirror/mirror -d -F -gftp.freebsd.org:/pub/FreeBSD/FreeBSD-current/ >> mirror.freebsd.out 2>&1 /home/kuku/mirror/mirror -d -F -gftp.freebsd.org:/pub/FreeBSD/FreeBSD-stable/ >> mirror.freebsd.out 2>&1 /home/kuku/mirror/mirror -d -F -gftp.freebsd.org:/pub/FreeBSD/distfiles/ >> mirror.freebsd.out 2>&1 /home/kuku/mirror/mirror -d -F -gftp.freebsd.org:/pub/FreeBSD/docs/ >> mirror.freebsd.out 2>&1 /home/kuku/mirror/mirror -d -F -gftp.freebsd.org:/pub/FreeBSD/incoming/ >> mirror.freebsd.out 2>&1 /home/kuku/mirror/mirror -d -F -gftp.freebsd.org:/pub/FreeBSD/packages-2.1/ >> mirror.freebsd.out 2>&1 /home/kuku/mirror/mirror -d -F -gftp.freebsd.org:/pub/FreeBSD/packages-current/ >> mirror.freebsd.out 2>&1 /home/kuku/mirror/mirror -d -F -gftp.freebsd.org:/pub/FreeBSD/tools/ >> mirror.freebsd.out 2>&1 And here is head mirrorr.pl: #!/usr/local/bin/perl5.002 # Make local directories mirror images of a remote sites # By Lee McLoughlin <lmjm@doc.ic.ac.uk> # You can do what you like with this except claim that you wrote it or # give copies with changes not approved by Lee. Neither Lee nor any other # organisation can be held liable for any problems caused by the use or # storage of this package. # # $Id: mirror.pl,v 2.8 1995/08/06 14:03:52 lmjm Exp lmjm $ # $Log: mirror.pl,v $ # Revision 2.8 1995/08/06 14:03:52 lmjm # Trap a wider range of signals to aid in debugging under perl5 # Avoid looping processing symlinks. # --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603200811.JAA19957>