From mboxrd@z Thu Jan 1 00:00:00 1970 From: lorddoomicus@mac.com (Derrik Walker) Date: Thu, 13 Oct 2011 18:51:30 +0000 (GMT) Subject: [TUHS] Mirror with link In-Reply-To: <20111013184337.GA23950@bitmover.com> Message-ID: <9cf6b0a5-0ee5-ea9d-edf0-9db82d060562@me.com> 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 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: