I have a list of links in a file as follow:
https://xxxxx.com/folder1/xxxx.jpg
https://xxxxx.com/folder1/folder2/xxxx.jpg
https://xxxxx.com is a constant
I would like to download in my server all the files in their respective folders as followed: i.e
/folder1/xxxx.jpg
/folder1/folder2/xxxx.jpg
Any suggestions ?