Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

comment on

I am working in a Windows environment but I am pretty sure this is an OS_independent question. I want to check to see if a group of files were modified on the present date. If they were modified before today I want them deleted, else keep them. I know about stat() and localtime but the best I could come up with was when the file was modified. Any suggestions would be great.

In reply to How do I determine if a file was modified today? by /dev/trash

and:  <code> code here </code>

  • Please read these before you post! —
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others wandering the Monastery: (5)
    As of 2021-03-09 08:05 GMT
    Find Nodes?
      Voting Booth?
      My favorite kind of desktop background is:

      Results (132 votes). Check out past polls.