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(a)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(a)minnie.tuhs.org
https://minnie.tuhs.org/mailman/listinfo/tuhs