The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Since I have started with UNIX by Spisefisken 2006-01-24 04:27:45
the questions have also started. If I want to delete all files in a directory which are more than a month old, how do I do that? I mean I know how to delete, but how do I tell it that the file has to be more than a month old?
[ Reply ]
  use 'find' by JimK2006-01-24 04:32:09
    Well it is more like I don't know how by Spisefisken2006-01-24 04:35:23
      The mtime attribute has the last modification time by ttlogic2006-01-24 04:40:24
      Well, if "Month" is 31 days, then : by aix tom2006-01-24 04:42:41
        Thanks. Just what I needed by Spisefisken2006-01-24 04:47:58
          Let me tell you... by mpicklesimer12006-01-24 05:06:54
            You now what they say : by aix tom2006-01-24 05:17:22
              Slight correction... by jdelphiki2006-01-24 07:25:53
        What's the diff between xargs and by lurker692006-01-24 05:18:22
          Well, in my case .... by aix tom2006-01-24 05:25:40
            xargs has its problems, too by moddermonster2006-11-19 12:55:59
              Use print0 for spaceful names by dantheta2006-01-24 08:30:32
    If it is a recurring task in specific directories by ttlogic2006-01-24 04:36:08

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)