tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: jeffrey.s.horvath () ccmail ! census ! gov
To: tru64-unix-managers
Subject: Find command
Date: Thu, 19 Mar 1998 00:23:43 +0000	[thread overview]
Message-ID: <96078701111548.tru64-unix-managers.marc@archive.invalid> (raw)


     SYSTEM DU 4.0B
     
     Could someone please explain the find command to me.  
     I'm confused with the atime mtime and ctime options.  
     
     The man page says:
     
       In the following descriptions, the argument number is a decimal 
     integer
       that can be specified as +number (more than number), -number (less 
     than
       number), or number (exactly number).
     
       -atime number
           TRUE if the file was accessed in the past number days, where 
     number is
           interpreted as described in this reference page.
     
     Doesn't -atime +1 mean accessed greater than 24 hours ago?  
     
     How can I identify all files accessed greater than 14 days ago?
     
     Than why the following result? Notice date at bottom. 
     disa01# pwd
     /orarchive/archlogs
     disa01# find ./ -name 'ar*' -atime +1 |ls -l |more
     
     ...
     -rw-r-----   1 oracle   dba      104857600 Mar 17 16:48 
     arch_CAMS4217.log
     -rw-r-----   1 oracle   dba      104858624 Mar 17 16:49 
     arch_CAMS4218.log
     -rw-r-----   1 oracle   dba      104857600 Mar 17 16:50 
     arch_CAMS4219.log
     -rw-r-----   1 oracle   dba      104857600 Mar 17 17:07 
     arch_CAMS4220.log
     -rw-r-----   1 oracle   dba      104857600 Mar 17 17:12 
     arch_CAMS4221.log
     -rw-r-----   1 oracle   dba      104857600 Mar 17 17:15 
     arch_CAMS4222.log
     -rw-r-----   1 oracle   dba      104857600 Mar 17 17:17 
     arch_CAMS4223.log
     -rw-r-----   1 oracle   dba      104857600 Mar 17 17:19 
     arch_CAMS4224.log
     -rw-r-----   1 oracle   dba      104857600 Mar 17 17:20 
     arch_CAMS4225.log
     -rw-r-----   1 oracle   dba      104857600 Mar 18 08:39 
     arch_CAMS4226.log
     -rw-r-----   1 oracle   dba      104858624 Mar 18 09:57 
     arch_CAMS4227.log
     -rw-r-----   1 oracle   dba      104858624 Mar 18 13:32 
     arch_CAMS4228.log
     -rw-r-----   1 oracle   dba      104858624 Mar 18 13:44 
     arch_CAMS4229.log
     -rw-r-----   1 oracle   dba      104858624 Mar 18 15:13 
     arch_CAMS4230.log
     -rw-r-----   1 oracle   dba      104858624 Mar 18 15:51 
     arch_CAMS4231.log
     -rw-r-----   1 oracle   dba      104858624 Mar 18 17:17 
     arch_CAMS4232.log
     -rw-r-----   1 oracle   dba      104858624 Mar 18 17:26 
     arch_CAMS4233.log
     -rw-r-----   1 oracle   dba      104858624 Mar 18 17:35 
     arch_CAMS4234.log
     -rw-r-----   1 oracle   dba      104857600 Mar 18 17:37 
     arch_CAMS4235.log
     -rw-r-----   1 oracle   dba      104857600 Mar 18 17:39 
     arch_CAMS4236.log
     -rw-r--r--   1 root     dba          16093 Mar 18 18:47 temp.dat
     
     disa01# date
     Wed Mar 18 19:19:41 EST 1998
     
     I get same results with ctime +1 and mtime +1
     Thanks,

             reply	other threads:[~1998-03-19  0:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-19  0:23 jeffrey.s.horvath [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-05-07  8:52 Find command Sundar_Rajan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox