I want to download all the images from an URL using wget
and set the name of output file based on the url.
For example, if I download this picture:
wget https://www.electrictoolbox.com/images/icons/linux-bsd.gif
The filename will be linux-bsd.gif
but I want it to be images_icons_linux-bsd.gif
I would like it to be automated.
How can I achieve this?