<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: -ctime &amp;amp; -mtime difference in find command ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ctime-amp-mtime-difference-in-find-command/m-p/4947355#M412977</link>
    <description>Hi Sammy:&lt;BR /&gt;&lt;BR /&gt;The 'ctime' of a file represents the last inode change --- change in permissions, ownership, name.&lt;BR /&gt;&lt;BR /&gt;The 'mtime' is the last modification time of a file or directory.&lt;BR /&gt;&lt;BR /&gt;The 'atime' is the last access time.&lt;BR /&gt;&lt;BR /&gt;There is *no* creation time recorded.  The only time (no pun) that you reveal the creation time is when the file (or directory) has never been modified since its creattion.  Then, and only then, is 'mtime' a creation time.&lt;BR /&gt;&lt;BR /&gt;If you use 'fbackup' beware that the 'ctime' of the files you backup will be changed.  This is because 'fbackup' reset the file's lat access timestamp ('atime').  In doing so, the the 'ctime' is changed because the operation updated the inode information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Fri, 16 Dec 2005 10:51:05 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2005-12-16T10:51:05Z</dc:date>
    <item>
      <title>-ctime &amp; -mtime difference in find command ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctime-amp-mtime-difference-in-find-command/m-p/4947353#M412975</link>
      <description>Why -ctime yields no result but -mtime yields&lt;BR /&gt;1 result (as expected) ? I would expect both&lt;BR /&gt;to work alike . Thanks&lt;BR /&gt;&lt;BR /&gt;# date&lt;BR /&gt;Thu Dec 15 10:22:23 EST 2005&lt;BR /&gt;# touch -mt 12011259 ahd_12_15_05.log&lt;BR /&gt;# ll ahd_12_15_05.log&lt;BR /&gt;-rwxr-xr-x   1 root       sys              0 Dec  1 12:59 ahd_12_15_05.log&lt;BR /&gt;# find $APP_LOG -name 'ahd*log' -ctime +10&lt;BR /&gt;&lt;BR /&gt;# find $APP_LOG -name 'ahd*log' -mtime +10&lt;BR /&gt;/opt/hpws/apache/logs/ahd_12_15_05.log&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Dec 2005 10:30:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctime-amp-mtime-difference-in-find-command/m-p/4947353#M412975</guid>
      <dc:creator>Sammy_2</dc:creator>
      <dc:date>2005-12-16T10:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: -ctime &amp; -mtime difference in find command ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctime-amp-mtime-difference-in-find-command/m-p/4947354#M412976</link>
      <description>Hi Sammy,&lt;BR /&gt;&lt;BR /&gt;ctime is Creation time and mtime is Modification time. So it is expected to act differently. See "man find" for more info...&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Dec 2005 10:38:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctime-amp-mtime-difference-in-find-command/m-p/4947354#M412976</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-12-16T10:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: -ctime &amp; -mtime difference in find command ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctime-amp-mtime-difference-in-find-command/m-p/4947355#M412977</link>
      <description>Hi Sammy:&lt;BR /&gt;&lt;BR /&gt;The 'ctime' of a file represents the last inode change --- change in permissions, ownership, name.&lt;BR /&gt;&lt;BR /&gt;The 'mtime' is the last modification time of a file or directory.&lt;BR /&gt;&lt;BR /&gt;The 'atime' is the last access time.&lt;BR /&gt;&lt;BR /&gt;There is *no* creation time recorded.  The only time (no pun) that you reveal the creation time is when the file (or directory) has never been modified since its creattion.  Then, and only then, is 'mtime' a creation time.&lt;BR /&gt;&lt;BR /&gt;If you use 'fbackup' beware that the 'ctime' of the files you backup will be changed.  This is because 'fbackup' reset the file's lat access timestamp ('atime').  In doing so, the the 'ctime' is changed because the operation updated the inode information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 16 Dec 2005 10:51:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctime-amp-mtime-difference-in-find-command/m-p/4947355#M412977</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-16T10:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: -ctime &amp; -mtime difference in find command ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ctime-amp-mtime-difference-in-find-command/m-p/4947356#M412978</link>
      <description>Thanks to both. thanks JRF for the tip on fbackups.</description>
      <pubDate>Fri, 16 Dec 2005 11:27:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ctime-amp-mtime-difference-in-find-command/m-p/4947356#M412978</guid>
      <dc:creator>Sammy_2</dc:creator>
      <dc:date>2005-12-16T11:27:58Z</dc:date>
    </item>
  </channel>
</rss>

