Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2002
    Location
    Indonesia
    Posts
    6

    Question Unanswered: How to remove file that specific date

    Hi,
    I want remove files in AIX that only specific date.
    Example: I want delete file that creation date 10-Nov-2002.
    What's command?

  2. #2
    Join Date
    Aug 2002
    Location
    Belgium
    Posts
    534
    Check 'man ls' to list the files with a certain creation date and pipe the output to 'rm'
    rws

  3. #3
    Join Date
    Jan 2003
    Posts
    1

    Re: How to remove file that specific date

    Originally posted by Akumiling
    Hi,
    I want remove files in AIX that only specific date.
    Example: I want delete file that creation date 10-Nov-2002.
    What's command?
    find /some/path -mtime 5 -exec rm {} \
    this will del files 5 days ago

Posting Permissions

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