#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2011
    Posts
    6
    Rep Power
    0

    LINUX - How to delete files more than 10 weeks old


    Hi All,

    Can you pls let me know any script/command by which I can delete the files from the Archive directory which is more than 10 weeks older from the day the batch is executed. ie if I pass today's date, it should go & delete the files older than 10 weeks from now from the archive directory.

    Any thoughts will be very helpful.

    Thanks in advance
    Freddie
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,071
    Rep Power
    9398

IMN logo majestic logo threadwatch logo seochat tools logo