fdupes
fdupes copied to clipboard
Allow reverse flag for sorting by name
#73
Could you please merged this pull request? I spent an hour debugging until I noticed that the flag --reverse works only for the time based sorting.
Well, IMHO multiplying by -1 is not the most obvious way how to do that but it sure works.
@jbruchon Thank you very much. Since I already had the sources on my machine, I did my version of the patch:
return !ISFLAG(flags, F_REVERSE) ? strcmp(f1->d_name, f2->d_name) : strcmp(f2->d_name, f1->d_name);
built it, removed the correct files and dropped the local build :)
Duplicate of #102?