Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 ( [id://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?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-25 20:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found