DBAsupport.com Forums - Powered by vBulletin
Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: shell script to maintain the log files

  1. #11
    Join Date
    Feb 2000
    Location
    New York,U.S.A.
    Posts
    245
    -ctime n True if the file's status was changed n days ago.

    -mtime n True if the file's data was modified n days ago.

  2. #12
    Join Date
    Sep 2000
    Posts
    362
    what do we mean by file status here.

    Sorry if the question is silly.

    Thanks
    Anurag

  3. #13
    Join Date
    Feb 2000
    Location
    New York,U.S.A.
    Posts
    245
    It is a good question. You can go to unix and type
    man find , it will give detail.
    Based on what I find, ctime means since last time the file status was changed by such as chmod,chown,etc.
    mtime means since the last time the data of the file was changed. Honestly, I myself not too clear about the differences betwen those two. I hope some unix gurus will help.

  4. #14
    Join Date
    Sep 2000
    Posts
    362
    Thanks dragon99.

    Anybody knows how to do the same thing on NT.

    Thanks
    Anurag

Posting Permissions

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


Click Here to Expand Forum to Full Width