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

wget directories



I want to download files, that are in a list.
e.g.:

cat list.txt
http://mysite.com/xyz.txt
http://mysite.com/somedir/something
http://mysite.com/anotherdir/something2


Ok, I can do "wget -i" like the "man wget" says.

But it only downloads the files, and doesn't creates the directories.
So I can download the files by list, but I want to get them in their correct directories.

I read the "man wget", and find: -I
but:

wget -Ii list.txt

it downloads an html file.

wget -I

wget: missing URL

I'm still searching :S

I would thank you, if someone has tips, how can I parameter wget to download the files and putting them in their correct dirs.

Reply to: