pkolaczk / fclones

Efficient Duplicate File Finder
MIT License
1.99k stars 79 forks source link

group output according to order on command line #263

Open adrium opened 7 months ago

adrium commented 7 months ago

The tool rdfind gives a higher priority to keep files according to the order on the command line. This is very useful to remove duplicates in decades old and unstructured manual backup folders. Consider the following folders with Pictures containing roughly the same files:

  1. Data/Pictures
  2. Backup-2024/Pictures
  3. Backup-2022/Pictures
  4. Drive-D/Data/Pictures
  5. Data/OldBackups/Drive-D/Data/Pictures

Imagine the above list is sorted by most recent files.

From my understanding of experimenting with fclones (with dry-run) with a structure similar to the above, the output of the group command would have to be sorted. However, this does not seem to be the case currently.