[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Not getting the wildcards to work in wget
From: |
Cherise Haywood |
Subject: |
Not getting the wildcards to work in wget |
Date: |
Wed, 3 Feb 2021 15:39:06 +0000 |
Good Day!
I am trying to download specific .zip files from this website:
https://www2.census.gov/geo/tiger/TIGER2012/ROADS/
I only want the files with *_72*.zip to be downloaded to a copy of the
directories it comes from on my system.
I have used several iterations of wget to yield only the folders ( directories)
being formed, but absolutely no data being downloaded.
Here are copies of the code I have used:
OPTION 1: wget --no-parent --relative --recursive --level=2 --accept=zip
--mirror -A .zip https://www2.census.gov/geo/tiger/TIGER2012/ROADS/
OPTION 2: wget --no-parent --relative --recursive --level=2 --accept=zip
--mirror -A *_72*.zip --time-stamps
https://www2.census.gov/geo/tiger/TIGER2012/ROADS/
OPTION 3: wget --no-parent --relative --recursive --level=2 --accept=zip
--mirror -A _72 https://www2.census.gov/geo/tiger/TIGER2012/ROADS
I also did the wget - - help command, however none of the switches could assist
in downloading the specific files from the directory.
I have attached error imgs, I captured!
Can you assist?
Best Regards,
Cherise
code used and error.png
Description: code used and error.png
- Not getting the wildcards to work in wget,
Cherise Haywood <=