tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Jonathan Williams <jonathw () shubertorg ! com>
To: tru64-unix-managers
Subject: SUMMARY: Korn Shell Script Question
Date: Fri, 24 Aug 2001 15:38:05 +0000	[thread overview]
Message-ID: <102653669622105.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------=_NextPart_000_0311_01C12C91.3D4F6CE0", Size: 2381 bytes --]

This is a multi-part message in MIME format.

------=_NextPart_000_0311_01C12C91.3D4F6CE0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Ok...thanks for all the fast responses.   Almost everyone suggested =
using "find" with the -ctime option.  This would be great, except as =
Tyler Hall pointed out:
>AFAIK, the creation date and the modification dates are the same value. =
Some programs will read in an entire file, >make the modifications, then =
write the entire file back out to disk, so in essence, the entire file =
would be new >according to the OS.=20

and it turns out this is exactly what the program does.  That's why the =
output of find . -mtime -1 and find . -ctime -1 give excatly the same =
output.  oh well...Thanks to all...

Jonathan Williams
UNIX Systems Administrator
The Shubert Organization, Inc.

------=_NextPart_000_0311_01C12C91.3D4F6CE0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3207.2500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Ok...thanks for all the fast =
responses.&nbsp;&nbsp;=20
Almost everyone suggested using "find" with the -ctime option.&nbsp; =
This would=20
be great, except as Tyler Hall pointed out:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2>&gt;AFAIK, =
the creation=20
date and the modification dates are the same value.&nbsp;Some programs =
will read=20
in&nbsp;an entire file, &gt;make the modifications, then write the =
entire file=20
back out to&nbsp;disk, so in essence,&nbsp;the entire file would be new=20
&gt;according to the OS.&nbsp;</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and it turns out this is exactly what =
the program=20
does.&nbsp; That's why the output of find . -mtime -1 and find . -ctime =
-1 give=20
excatly the same output.&nbsp; oh well...Thanks to all...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>Jonathan Williams<BR>UNIX Systems=20
Administrator<BR>The Shubert Organization, =
Inc.</FONT></DIV></BODY></HTML>

------=_NextPart_000_0311_01C12C91.3D4F6CE0--

             reply	other threads:[~2001-08-24 15:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-24 15:38 Jonathan Williams [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-10-23 23:39 SUMMARY: korn shell script question Brehl, Blake
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