S
S
SpeakLive912018-10-26 16:43:24
Command line
SpeakLive91, 2018-10-26 16:43:24

How to download pictures from a list like "link1; link2; link3 and so on"?

Good afternoon! Is there any SH script or program for downloading images from the list in a .txt file with content like "link1.jpg; link2.png; link3.jpeg, etc." Links to images should be of this kind (separated with a semicolon). How to do it?
Also, how to make these pictures be saved in a specific folder with the name that we specify when executing the PHP script (if we use this method), for example download_image.sh path_to_file_with_links.txt name_of_folder_where_to_save_images .png, 2.jpg, 3.jpeg and so on?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Softer, 2018-10-26
@SpeakLive91

We go to the desired directory.
where img is the name of the file with the line(s) of the form link1;link2;link3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question