From: lorddoomicus@mac.com (Derrik Walker)
Subject: [TUHS] Mirror with link
Date: Thu, 13 Oct 2011 18:51:30 +0000 (GMT) [thread overview]
Message-ID: <9cf6b0a5-0ee5-ea9d-edf0-9db82d060562@me.com> (raw)
In-Reply-To: <20111013184337.GA23950@bitmover.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]
I like shell scripts for hard to remember things like that.
Call it wget_mirror.sh or something like that:
#!/bin/bash
if [ $# -ne 1 ] ; then echo ERRR; exit 1 ; else url=$1 ; fi
wget -c -m -k -np -e robots=off $url
( that was off the top of my head and has NOT been tested ... it might have a typo or two :)
- Derrik
On Oct 13, 2011, at 02:43 PM, Larry McVoy <lm at bitmover.com> wrote:
> On Thu, Oct 13, 2011 at 08:37:27PM +0200, Jose R. Valverde wrote:
> > Just for the record.
> >
> > The correct way to mirror a site with links corrected is
> >
> > wget -c -m -k -np -e robots=off URL
> >
> > Seems most people have problem remembering this incantation.
>
> Wouldn't it be nice if it were
>
> wget --mirror URL
>
> ?
> --
> ---
> Larry McVoy lm at bitmover.com http://www.bitkeeper.com
> _______________________________________________
> TUHS mailing list
> TUHS at minnie.tuhs.org
> https://minnie.tuhs.org/mailman/listinfo/tuhs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20111013/29ca20ef/attachment.html>
next prev parent reply other threads:[~2011-10-13 18:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-13 18:37 Jose R. Valverde
2011-10-13 18:43 ` Larry McVoy
2011-10-13 18:51 ` Derrik Walker [this message]
2011-10-13 18:53 ` SPC
2011-10-13 19:35 ` A. P. Garcia
2011-10-14 15:59 ` Jose R. Valverde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9cf6b0a5-0ee5-ea9d-edf0-9db82d060562@me.com \
--to=lorddoomicus@mac.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).