Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Aging Script

by Seema (Novice)
on Aug 08, 2001 at 22:11 UTC ( #103142=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Cutoff_date = Todays_date - 31
    For each file
    ...
        delete file
      End If statement
    End For each loop
    
  2. or download this
    #!/sbin/sh
    touch -t `date +"%m%d%H%M.%S"` timefile
    sleep 5  #sleep 5 seconds
    touch timefile2
    echo `find ./ -type f -newer timefile`
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2022-12-08 03:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?