<?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: find command does not find all files ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539394#M369115</link>
    <description>Actually, it only finds the 1st 5 files although I have more.&lt;BR /&gt;&lt;BR /&gt;magic:/app/oracle/admin/MASSSTB/arch1 ==&amp;gt; ls -altr&lt;BR /&gt;total 14143018&lt;BR /&gt;drwxrws---   8 oracle     dba           1024 May 26  2009 ..&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:09 MASSP_228961.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:15 MASSP_228962.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:22 MASSP_228963.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:30 MASSP_228964.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:37 MASSP_228965.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:45 MASSP_228966.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:52 MASSP_228967.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:58 MASSP_228968.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:04 MASSP_228969.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:09 MASSP_228970.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:17 MASSP_228971.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:23 MASSP_228972.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:30 MASSP_228973.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:38 MASSP_228974.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:45 MASSP_228975.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:53 MASSP_228976.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 17:01 MASSP_228977.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 17:07 MASSP_228978.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 17:12 MASSP_228979.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 17:19 MASSP_228980.arc&lt;BR /&gt;</description>
    <pubDate>Tue, 24 Nov 2009 20:41:56 GMT</pubDate>
    <dc:creator>Sammy_2</dc:creator>
    <dc:date>2009-11-24T20:41:56Z</dc:date>
    <item>
      <title>find command does not find all files ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539393#M369114</link>
      <description>Any idea, why the below find command only find 4 files , but there aare lot more *arc files. I was expecting the command to find all *arc files older than 1 day. ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 10:34 MASSP_229285.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 10:42 MASSP_229286.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 10:44 MASSP_229287.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 10:47 MASSP_229288.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 10:50 MASSP_229289.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 10:54 MASSP_229290.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 10:59 MASSP_229291.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 11:05 MASSP_229292.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 11:22 MASSP_229293.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 11:24 MASSP_229294.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 11:26 MASSP_229295.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 11:30 MASSP_229296.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 11:36 MASSP_229297.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20968448 Nov 24 11:40 MASSP_229298.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 11:45 MASSP_229299.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 11:56 MASSP_229300.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 12:01 MASSP_229301.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 12:09 MASSP_229302.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20969472 Nov 24 12:14 MASSP_229303.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 12:36 MASSP_229304.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20969472 Nov 24 13:06 MASSP_229305.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 13:34 MASSP_229306.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20969472 Nov 24 14:12 MASSP_229307.arc&lt;BR /&gt;drwxr-s---   2 oracle     dba          20480 Nov 24 15:17 .&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 24 15:17 MASSP_229308.arc&lt;BR /&gt;magic:/app/oracle/admin/MASSSTB/arch1 ==&amp;gt; uname -a&lt;BR /&gt;HP-UX magic B.11.11 U 9000/800 261757805 unlimited-user license&lt;BR /&gt;# find . -follow -name '*.arc' -ctime +1&lt;BR /&gt;./MASSP_228961.arc&lt;BR /&gt;./MASSP_228962.arc&lt;BR /&gt;./MASSP_228963.arc&lt;BR /&gt;./MASSP_228964.arc&lt;BR /&gt;#</description>
      <pubDate>Tue, 24 Nov 2009 20:38:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539393#M369114</guid>
      <dc:creator>Sammy_2</dc:creator>
      <dc:date>2009-11-24T20:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: find command does not find all files ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539394#M369115</link>
      <description>Actually, it only finds the 1st 5 files although I have more.&lt;BR /&gt;&lt;BR /&gt;magic:/app/oracle/admin/MASSSTB/arch1 ==&amp;gt; ls -altr&lt;BR /&gt;total 14143018&lt;BR /&gt;drwxrws---   8 oracle     dba           1024 May 26  2009 ..&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:09 MASSP_228961.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:15 MASSP_228962.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:22 MASSP_228963.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:30 MASSP_228964.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:37 MASSP_228965.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:45 MASSP_228966.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:52 MASSP_228967.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 15:58 MASSP_228968.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:04 MASSP_228969.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:09 MASSP_228970.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:17 MASSP_228971.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:23 MASSP_228972.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:30 MASSP_228973.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:38 MASSP_228974.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:45 MASSP_228975.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 16:53 MASSP_228976.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 17:01 MASSP_228977.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 17:07 MASSP_228978.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 17:12 MASSP_228979.arc&lt;BR /&gt;-rw-r-----   1 oracle     dba        20970496 Nov 22 17:19 MASSP_228980.arc&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Nov 2009 20:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539394#M369115</guid>
      <dc:creator>Sammy_2</dc:creator>
      <dc:date>2009-11-24T20:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: find command does not find all files ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539395#M369116</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] I was expecting the command to find&lt;BR /&gt;&amp;gt; all *arc files older than 1 day. ?&lt;BR /&gt;&lt;BR /&gt;Then why are you using "-ctime"?&lt;BR /&gt;&lt;BR /&gt;      man find&lt;BR /&gt;&lt;BR /&gt;Compare "-atime", "-ctime", and "-mtime".&lt;BR /&gt;(Consider also "-newer" and its friends.)</description>
      <pubDate>Tue, 24 Nov 2009 21:29:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539395#M369116</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-11-24T21:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: find command does not find all files ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539396#M369117</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;A couple of comments to guide you.  Don't confuse 'ctime' with the concept of a creation timestamp.  Unix doesn't maintain a creation time; only a last-modification ('mtime').  This is what 'ls -l' is reporting.&lt;BR /&gt;&lt;BR /&gt;Your 'find' with a '-ctime' is looking for changes (that "c") in permission, ownership or name, _not_ modifications to the file or directory contents.&lt;BR /&gt;&lt;BR /&gt;The notation '-ctime +1' means that the 'ctime' is older than 'n-1' to 'n' 24-hour intervals.  Hence if you use this, you may not see all files for a particular day.  This is the reason Steven suggested the use of '-newer' where the reference point is made against another file with a known timestamp (usually a temporary file that you create with 'touch' and explicitly set its 'mtime).&lt;BR /&gt;&lt;BR /&gt;Have a good, careful look at the 'find(1)' manpages together with those for 'stat(5)'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 24 Nov 2009 23:00:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539396#M369117</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-11-24T23:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: find command does not find all files ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539397#M369118</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Have a good, careful look [...]&lt;BR /&gt;&lt;BR /&gt;Or even a quick, sloppy look at any of the&lt;BR /&gt;many, many "find"-related threads which a&lt;BR /&gt;simple Forum search should find.</description>
      <pubDate>Tue, 24 Nov 2009 23:45:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539397#M369118</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-11-24T23:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: find command does not find all files ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539398#M369119</link>
      <description>&amp;gt;JRF: The notation '-ctime +1' means that the 'ctime' is older than 'n-1' to 'n' 24-hour intervals.&lt;BR /&gt;&lt;BR /&gt;If you remember previous threads, the find(1) documentation is broken, so that's only true if you use:&lt;BR /&gt;UNIX95=FIDDLE_WITH_FIND_TIMES find ... -ctime +1 ...&lt;BR /&gt;&lt;BR /&gt;If you don't set UNIX95, -ctime +1 would mean 48 or longer.&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1306285" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1306285&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1271016" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1271016&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Nov 2009 06:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539398#M369119</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-11-25T06:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: find command does not find all files ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539399#M369120</link>
      <description>Steven, I understand newer would work but that requires you to create a file everytime before running the command. But definitely a nice suggestion. Thanks Steve&lt;BR /&gt;&lt;BR /&gt;JRF,&lt;BR /&gt;Informative as ever with your 2 cents. Appreciate it your invaluable ideas.&lt;BR /&gt;&lt;BR /&gt;Dennis,&lt;BR /&gt;Right on the money. Although, JRF and Steve had me on the right path with newer command but I find&lt;BR /&gt;the easiest thing to do is just add UNIX95 variable and then let find command  rip. It worked . thanks</description>
      <pubDate>Mon, 30 Nov 2009 15:13:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-does-not-find-all-files/m-p/4539399#M369120</guid>
      <dc:creator>Sammy_2</dc:creator>
      <dc:date>2009-11-30T15:13:12Z</dc:date>
    </item>
  </channel>
</rss>

