Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Duplicates in Directories

by Anonymous Monk
on Oct 09, 2017 at 14:19 UTC ( [id://1200996]=note: print w/replies, xml ) Need Help??


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

Auto-logged-out again.   Oh well.   Just one more thing:   remember to do this once more when you reach the end of the file, because that is of course what marks the end of the final group of names.

Replies are listed 'Best First'.
Re^3: Duplicates in Directories
by Anonymous Monk on Oct 09, 2017 at 14:28 UTC

    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.

      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).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1200996]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-25 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found