Re: Using wget to mirror just part of a web site?
wget -m -nH -r http://us.archive.ubuntu.com/ubuntu/dists -o /var/log/${site}_mirror.log But that gets the whole sit. What I want to do is just start at the toop of the ubuntu/dists tree. Perhaps the '--no-parent' knob would be of some help? cmh -- Christopher M. Hobbs IS Technician, City of Siloam Springs [EMAIL PROTECTED], (479).524.5136 pgpeuzdhR3kdx.pgp Description: PGP signature
Re: Using wget to mirror just part of a web site?
Yes, the --no-parent is what you need On 10/2/06, Christopher M. Hobbs [EMAIL PROTECTED] wrote: wget -m -nH -r http://us.archive.ubuntu.com/ubuntu/dists -o /var/log/${site}_mirror.log But that gets the whole sit. What I want to do is just start at the toop of the ubuntu/dists tree. Perhaps the '--no-parent' knob would be of some help? cmh -- Christopher M. Hobbs IS Technician, City of Siloam Springs [EMAIL PROTECTED], (479).524.5136 -- Best Regards, Ivan Levchenko [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using wget to mirror just part of a web site?
I looked at the mirror port, and it seemded complex to set up, and looks like it is not bieng manitaned any more as teh link reference in it's man page is dead. So I figure I can use wget to mirror the web sties I need to mirror. I have it mostly working I'm suing something like: wget -m -nH -r http://us.archive.ubuntu.com/ubuntu/dists -o /var/log/${site}_mirror.log But that gets the whole sit. What I want to do is just start at the toop of the ubuntu/dists tree. What am I doing wrong? -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using wget to mirror just part of a web site?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 stan wrote: I looked at the mirror port, and it seemded complex to set up, and looks like it is not bieng manitaned any more as teh link reference in it's man page is dead. So I figure I can use wget to mirror the web sties I need to mirror. I have it mostly working I'm suing something like: wget -m -nH -r http://us.archive.ubuntu.com/ubuntu/dists -o /var/log/${site}_mirror.log But that gets the whole sit. What I want to do is just start at the toop of the ubuntu/dists tree. What am I doing wrong? I think this is the option you want: - From recursive section of wget(1): - -np - --no-parent Do not ever ascend to the parent directory when retrieving recursively. This is a useful option, since it guarantees that only the files below a certain hierarchy will be downloaded. - -Garrett -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFH7EK6CkrZkzMC68RAgqnAJ95BXcnqL7+Yo2UZq2ZgJu4BKay2gCcCocY b2Dy751/epG44xu8ZUMc0Ks= =HVLW -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using wget to mirror just part of a web site?
On Sun, Oct 01, 2006 at 05:14:03AM -0700, Garrett Cooper wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 stan wrote: I looked at the mirror port, and it seemded complex to set up, and looks like it is not bieng manitaned any more as teh link reference in it's man page is dead. So I figure I can use wget to mirror the web sties I need to mirror. I have it mostly working I'm suing something like: wget -m -nH -r http://us.archive.ubuntu.com/ubuntu/dists -o /var/log/${site}_mirror.log But that gets the whole sit. What I want to do is just start at the toop of the ubuntu/dists tree. What am I doing wrong? I think this is the option you want: - From recursive section of wget(1): - -np - --no-parent Do not ever ascend to the parent directory when retrieving recursively. This is a useful option, since it guarantees that only the files below a certain hierarchy will be downloaded. Looked correct. But I'm still getting the whole tree, starting at ubuntu. Thaks for the input though. -- Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]