Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: Uniquely identifying files on windows

by VSarkiss (Monsignor)
on Dec 30, 2005 at 16:49 UTC ( #520022=note: print w/replies, xml ) Need Help??


in reply to Re^3: Uniquely identifying files on windows
in thread Uniquely identifying files on windows

You misunderstand. If I do

copy foo.txt bar.txt
I will have two files that will produce the same checksum. Clearly they're not the same file (different name, different bits on disk, etc.) yet any test using a checksum will show no difference.

That's what I meant by testing contents rather than testing files.

Replies are listed 'Best First'.
Re^5: Uniquely identifying files on windows
by holli (Monsignor) on Dec 30, 2005 at 16:56 UTC
    Oh, I got you. My point was that, because there no symbolic and rarely hard links under windows, the "unique identifier" of a file is the filename and path itself. But of course I expressed it poorly.


    holli, /regexed monk/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://520022]
help
Chatterbox?
[rajesh_perl]: Hi
[rajesh_perl]: thanks for editing it
beech testing firefox 52.0.1
beech me me me me
beech mi
beech eieie
beech .oO( *you* don't exist, I'm only messaging to *me* self),
[beech]: *me

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2017-03-28 07:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (327 votes). Check out past polls.