[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] A possible wget bug?
From: |
L Walsh |
Subject: |
Re: [Bug-wget] A possible wget bug? |
Date: |
Sat, 13 Jul 2013 20:18:04 -0700 |
User-agent: |
Thunderbird |
I'm downloading and would like to exclude several paths from the
download. I put the command in a script (enclosed below) but it keeps
doing the download. Am I messing something up? Am I not understanding
the syntax?
My intent is to NOT download any of the i386, epel, macports,
postgresql, or the ubuntu directories. I tried just coding
i386,epel,macports,postgresql,ubuntu but that didn't work either.
Any help you can give me in this would be wonderful.
---
I am doing something similar with open SUSE dist's -- I like to keep the
current versions I am using on my local disk. I too had things that
I wanted to exclude. So I first cam up with a list of exts and pats that
I wanted to exclude that use the normal rsynch wildcard matching.
ignore_exts='*.mirrorlist*,*.i586*,*.iso,*.asc,*.torrent,*.md5,*.drpm'
ignore_pats='*index.html?C=?;O=?*,*Addon-Lang*iso*,*LiveCD*iso*,*NET*iso*,*/i586
/.*'
That simplified the invocation statement. The key was getting the exclude
statements to ignore everything I didn't want. I found once those were
right, the rest comes easier.