Find the answer to your Linux question:
Results 1 to 3 of 3
hello to all... am new to this forum... am having a doubt..can anyone tell me, " is there any way to remove files from a directory datewise. i.e i have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Posts
    3

    Question delete files datewise


    hello to all...

    am new to this forum...

    am having a doubt..can anyone tell me,

    " is there any way to remove files from a directory datewise. i.e i have a cron file in that i want to set a time ,on every 25th of a month i want to remove files till 15th of the month.

    so is it possible by using 'rm' command...delete files upto 15th of the month.."

    please help me...

    regards sunil

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,878
    Hmmm, I'm getting deja-vu here...

    Posting the same question on multiple forums is against the rules. Personally, I consider it impolite to do this as it shows that you couldn't be bothered to read the rules before you posted (which you are asked to do...). It certainly wont get you an answer any quicker - it just puts peoples backs up.

    I feel kinda inclined to go delete the answer I gave on the other thread... only kidding, but please dont post this way. It doesn't help.

    Here's a link to the other thread, which still has my partial answer on it.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Jun 2006
    Posts
    3

    Unhappy

    am sorry...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •