Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Use File::Find and stat - Re: maintain control over very many files

by Sinister (Friar)
on Feb 26, 2002 at 12:10 UTC ( #147533=note: print w/replies, xml ) Need Help??


in reply to Use File::Find and stat - Re: maintain control over very many files
in thread maintain control over very many files

_IF_ you want to do such, you will have to remember of each file, what the last modifytime was - where are you going to store this?

The trick is (that is _IF_ you _REALLY_ want this) to touch a .time file (or some other hidden file) when your done with that dir, and then process the next. This way all newer then .time is newer... (if . is <= .time you don't even have to look in that dir...)

Sinister greetings.
"With tying hashes you can do everything God and Larry have forbidden" -- Johan Vromans - YAPC::Europe 2001
perldoc -q $_
  • Comment on Re: Use File::Find and stat - Re: maintain control over very many files

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2022-01-18 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (52 votes). Check out past polls.

    Notices?