in reply to Re^2: Duplicates in Directories
in thread Duplicates in Directories

Oh yeah, and one more thing:   this strategy assumes a case-sensitive file system or that the case of the file-names does not actually vary.   Or that you have the easy means to obtain a case-insensitive sorted filename list.   But the essential algorithm remains the same.   The filesystem’s doing all the hard work for you.

Replies are listed 'Best First'.
Re^4: Duplicates in Directories
by Corion (Patriarch) on Oct 09, 2017 at 14:29 UTC

    Maybe you could show some actual code solving your assumptions in Perl?

    That way, you don't need to hope that the users or filesystems behave in the way you describe (because neither does).