Answer the question
In order to leave comments, you need to log in
How to write a bash script to sort files in a directory?
Help me write a script that can remove duplicate files.
There is a set of images, you need to delete files with the same size. But you do not need to delete all such images, but only the following in the queue (in alphabetical order):
1.png # 23,5 Kb
2.png # 24,6 Kb
4.png # 24,6 Kb > remove
8.png # 24,6 Kb > remove
16.png # 23,5 Kb
Answer the question
In order to leave comments, you need to log in
For this very purpose it is better to use remove-duplicates from the recoverjpeg package.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question