wget input file and directory structure
Hi all,
I have a file with few hundred links to some files on a webpage. I would like to download them all, but at the same time keep the directory structure of the website. So for example i have these links: http://www.mysite.com/zips/big/big1.zip http://www.mysite.com/zips/big/big2.zip http://www.mysite.com/zips/small/small1.zip http://www.mysite.com/zips/small/small2.zip http://www.mysite.com/rars/big/big1.rar http://www.mysite.com/rars/big/big2.rar http://www.mysite.com/rars/small/small1.rar http://www.mysite.com/rars/small/small2.rar I would like wget to store downloaded files on my disk in the following way: Code:
start folder Thanks! |
Code:
wget -x -nH $link |
Quote:
I saw those options btw, but somehow I presumed they were only meant to be used with recursive downloading and not with an url list. |
Quote:
|
All times are GMT -5. The time now is 09:55 PM. |