[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] files changed to directories!

From: Tim Rühsen
Subject: Re: [Bug-wget] files changed to directories!
Date: Sat, 05 Oct 2013 21:18:24 +0200
User-agent: KMail/4.10.5 (Linux/3.10-3-amd64; KDE/4.10.5; x86_64; ; )

Am Freitag, 4. Oktober 2013, 22:26:18 schrieb e-letter:
> Readers,
> Just learned an interesting observation: navigated to a directory
> containing some audio files (mp3, ogg, etc.)
> Activated the command:
> wget -r -A *.mp3 http://url/to/mp3/files
> After download completed, some the majority mp3 files became empty
> directories, but curiously a minor few (estimate 10 %) remained as
> audio files:
> ls showed
> audio1.mp3 became audio1.mp3/
> The moral, be careful fellow novices! :)

The moral is that posts without any details doesn't help anybody.

Please be so kind and post the output of
        wget --version
        wget -d -r -A *.mp3 http://url/to/mp3/files

I am absolutely not able to reproduce the described behaviour without further 

But if your shell expands *.mp3, you should have seen error messages.
In that case, try
        wget -d -r -A "*.mp3" http://url/to/mp3/files

But that has nothing to do with Wget. It is a general problem in understanding 
how shells work. Shell wildcard expansion often hits the novice :-(

What do you think how we can help novices ?
Maybe we should explicitely warn in the docs of -A/-R about shell wildcard 
expansion ?

Regards, Tim

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]