Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Folder modified time

by Crackers2 (Parson)
on Aug 28, 2009 at 14:30 UTC ( #791925=note: print w/ replies, xml ) Need Help??


in reply to Re: Folder modified time
in thread Folder modified time

That test doesn't seem to match his description. That would be more like:

> md dir1 > md dir1\dir2 > copy nul dir1\dir2\file

And he's expecting the mtime of dir1 to be updated after the copy.


Comment on Re^2: Folder modified time
Download Code
Re^3: Folder modified time
by ikegami (Pope) on Aug 28, 2009 at 16:46 UTC

    The system (NTFS + WinXP) doesn't appear to work that way.

    As you can see, the system says the parent directory (".") was last modified earlier than when the child directory ("dir2") was last modified:

    >dir dir1 Volume in drive C is C Volume Serial Number is 28AB-0E8B Directory of C:\Documents and Settings\ikegami\dir1 2009/08/28 12:43 PM <DIR> . 2009/08/28 12:43 PM <DIR> .. 2009/08/28 12:44 PM <DIR> dir2

    Perl reports the same.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2015-07-06 08:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls