B
B
BadTiger2017-02-12 19:36:47
Windows
BadTiger, 2017-02-12 19:36:47

How to delete files that are not in the list?

The essence of the problem:
There is a folder with many subfolders in which there are photos. Approximately 20,000 photographs in total.
I have a list of photos that I need, with full paths to them (/folder/subfolder/image.jpg), 1500 in total.
I need to delete all unnecessary photos from folders.
Prompt the program under windows for this purpose. Or under linux, but I'm almost 0 in it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dark Hole, 2017-02-12
@abyrkov

Under Linux, you can do this:
But if the paths in the file are inaccurate, it's better not to do this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question