1

[ubuntu] WGET : download into different folders

view story
linux-howto

http://ubuntuforums.org – hi, i'm developing a script that will download files into different directories. Ex. this is my WGET command: wget -P /home/user/Desktop/2012/07/04/ [...] http://website.com/folder/folder/folder/20120704/ when I finished downloading from 20120704 and changed to 20120705 folder, what i want to happen is the destination folder will also change from /2012/07/04/ it will be /2012/07/05/ i tried to increment the source folder. it worked! but my problem is the destination folder is static. what should I do? (Hardware)