Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: unlink files

by Corion (Patriarch)
on Aug 07, 2024 at 18:10 UTC ( [id://11160922]=note: print w/replies, xml ) Need Help??


in reply to unlink files

See also the documentation on the -M operator, which tells you how old (relative to the start of the program) a file is.

But usually you want to run such a cleanup program optionally with other time settings than just the current time, so -M is not always helpful.

A very good approach would be to tell us where your current program does not do what you want, and what it does instead.

This is not a code writing service and we expect you to learn from the documentation and to do the legwork of actually trying things out.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-09-13 19:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (21 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.