Citēts Ángel González <[email protected]>
Mon, 27 Jan 2014 18:27:53 +0100:
..
Not a bug (and not wget's fault), albeit surprising for new users.
When you write *pdf* in a command line, your shell will expand it to
any files containing «pdf». You can view this behavior by executing
 echo *pdf*

So when you run
 wget -r -l1 -A *pdf* …

wget is really receiving a command like
  wget -r -l1 -A resume.pdf paper.pdf http://example.com

Till now i assumed that any string behind -A is treated like a mask
for the files to be retrieved from the remote server. I
absolutelyforgot about the shell

Thanks!

Janis

Attachment: bindZrWstQ7cW.bin
Description: PGP publiskā atslēga

Reply via email to