tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Find command
@ 1998-03-19  0:23 jeffrey.s.horvath
  0 siblings, 0 replies; 2+ messages in thread
From: jeffrey.s.horvath @ 1998-03-19  0:23 UTC (permalink / raw)
  To: tru64-unix-managers


     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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Find command
@ 1998-05-07  8:52 Sundar_Rajan
  0 siblings, 0 replies; 2+ messages in thread
From: Sundar_Rajan @ 1998-05-07  8:52 UTC (permalink / raw)
  To: tru64-unix-managers

Hi,

     Can we list all the files of to-day's date only through " find
command"  ??

Thanks in advance.

Sunder


            ********************************************************************

The information contained in these documents may be confidential and is intended
for the exclusive use of the addressee designated above.  If you are not the
addressee, any disclosure, reproduction, or other dissemination or use of this
communication is strictly prohibited.  If you have received this transmission in
error please contact us immediately by telephone so that we can arrange for its
return.

            ********************************************************************

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-05-07  8:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-19  0:23 Find command jeffrey.s.horvath
  -- strict thread matches above, loose matches on Subject: below --
1998-05-07  8:52 Sundar_Rajan

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