Hi,
I want to download some files using the wget command. I want to create a shell script, which will extract all the required parameters from the given URL of download location.
eg.
http://WEBSITE/FIRSTDIR/FILENAME(ABCD.ABC).zip
Out of this I want to extract
wget http://WEBSITE/FIRSTDIR/FILENAME(ABCD.ABC).zip -O FILENAME -a Filename
1. Here the source file name contains the (ABCD.ABC) which I don't want into the -O or -a output filename.
2. The FIRSTDIR can be /FIRSTDIR/SECONTDIR/..../..... ans so on. Out of that the last / contains the file name.
Thanks in advance .
Bookmarks