Answer the question
In order to leave comments, you need to log in
How to use regular expressions in Linux console loop?
There is a file containing a list of pictures
/path/image_1.jpg
/path/image_2.jpg
for var in $(cat ./images_file)
do // сохранить картинки в папке "new_path/"
done
Answer the question
In order to leave comments, you need to log in
move:
mv /path/image_1.jpg /new_path/
or copy:
cp /path/image_1.jpg /new_path/
magic
Or is there an easier way to save pictures in a new folder?
cp $(cat images_file) --target-directory="new_path/"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question