On Wed, 10 Jul 2013 14:02:15 -0700 (PDT) George R Goffe wrote: >Hi, > >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. > >Regards, > >George... > > >wget -r -l999 --no-parent mirror.pnl.gov -X >"mirror.pnl.gov/fedora/linux/development/19/i386,mirror.pnl.gov/fedora/linux/development/rawhide/i386,mirror.pnl.gov/fedora/linux/releases/15/Everything/i386,mirror.pnl.gov/fedora/linux/releases/15/Fedora/i386,mirror.pnl.gov/fedora/linux/releases/16/Everything/i386,mirror.pnl.gov/fedora/linux/releases/16/Fedora/i386,mirror.pnl.gov/fedora/linux/releases/17/Everything/i386,mirror.pnl.gov/fedora/linux/releases/17/Fedora/i386,mirror.pnl.gov/fedora/linux/releases/18/Everything/i386,mirror.pnl.gov/fedora/linux/releases/18/Fedora/i386,mirror.pnl.gov/fedora/linux/releases/18/Live/i386,mirror.pnl.gov/fedora/linux/updates/15/i386,mirror.pnl.gov/fedora/linux/updates/16/i386,mirror.pnl.gov/fedora/linux/updates/17/i386,mirror.pnl.gov/fedora/linux/updates/18/i386,mirror.pnl.gov/fedora/linux/updates/19/i386,mirror.pnl.gov/epel,mirror.pnl.gov/macports,mirror.pnl.gov/postgresql,mirror.pnl.gov/releases,mirror.pnl.gov/ubuntu" >
Have you tried removing each mirror.pnl.gov making each path absolute and matching the server's view of its file structure? (newlines added for easier reading) /fedora/linux/development/19/i386, /fedora/linux/development/rawhide/i386, /fedora/linux/releases/15/Everything/i386, /fedora/linux/releases/15/Fedora/i386, /fedora/linux/releases/16/Everything/i386, /fedora/linux/releases/16/Fedora/i386, /fedora/linux/releases/17/Everything/i386, /fedora/linux/releases/17/Fedora/i386, /fedora/linux/releases/18/Everything/i386, /fedora/linux/releases/18/Fedora/i386, /fedora/linux/releases/18/Live/i386, /fedora/linux/updates/15/i386, /fedora/linux/updates/16/i386, /fedora/linux/updates/17/i386, /fedora/linux/updates/18/i386, /fedora/linux/updates/19/i386, /epel, /macports, /postgresql, /releases, /ubuntu
