Is it possible to use wget with url containing wildcard ?, for example:
wget http://files.www.url.com/pastaDownloads/*.pdf
Is it possible to use wget with url containing wildcard ?, for example:
wget http://files.www.url.com/pastaDownloads/*.pdf
According to the wget handbook and this answer in the Unix part of the Stack Exchange, it is possible, yes, and it would look something like this:
wget -r -l1 --no-parent -A.pdf http://files.www.url.com/pastaDownloads/
From the manual, with my translation and google translate:
-r -l1
means recursive recursively (see Recursive Download in the manual), with maximum depth = 1.--no-parent
means that references to the parent directory are ignored (see Directory-Based Limits), and-A.pdf
means download only the PDF files.-A "*.pdf"
would have worked as well (in the manual under Recursive Accept / Reject Options).