<?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 not working in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901482#M283073</link>
    <description>You might want to try&lt;BR /&gt;&lt;BR /&gt;find . -ctime +1   (changee more than 1 day ago)&lt;BR /&gt;or&lt;BR /&gt;find . -atime +1   (accessed more then 1 day ago)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sonny</description>
    <pubDate>Mon, 20 Nov 2006 17:04:56 GMT</pubDate>
    <dc:creator>Sonny Chee</dc:creator>
    <dc:date>2006-11-20T17:04:56Z</dc:date>
    <item>
      <title>find not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901478#M283069</link>
      <description>When I do a "find . -mtime +1"&lt;BR /&gt;I get nothing. Yet there are files in the&lt;BR /&gt;current directory that older than 1 day.&lt;BR /&gt;Whats up with this?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;18 14:06 BPC_1060630.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        9069 Nov 18 14:06 BPC_1060630.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        2685 Nov 18 16:22 BPC_1060636.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs       38085 Nov 18 16:22 BPC_1060636.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        1775 Nov 18 16:25 BPC_1060643.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs      200405 Nov 18 16:25 BPC_1060643.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        3980 Nov 18 16:29 BPC_1060649.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs     1739266 Nov 18 16:29 BPC_1060649.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        1177 Nov 18 16:30 BPC_1060660.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        5592 Nov 18 16:30 BPC_1060660.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        1034 Nov 18 16:47 BPC_1060664.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs       23257 Nov 18 16:47 BPC_1060664.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        1034 Nov 18 17:07 BPC_1060667.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs       23257 Nov 18 17:07 BPC_1060667.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        1034 Nov 18 17:28 BPC_1060670.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs       23257 Nov 18 17:28 BPC_1060670.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        1034 Nov 18 17:31 BPC_1060673.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs       23257 Nov 18 17:31 BPC_1060673.pdf&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.</description>
      <pubDate>Mon, 20 Nov 2006 16:28:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901478#M283069</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2006-11-20T16:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: find not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901479#M283070</link>
      <description>Hi, here is an explanation for mtime value:&lt;BR /&gt;&lt;BR /&gt;find . -mtime 0   # find files modified within the past 24 hours&lt;BR /&gt;find . -mtime -1  # find files modified within the past 24 hours&lt;BR /&gt;find . -mtime 1   # find files modified between 24 and 48 hours ago&lt;BR /&gt;find . -mtime +1  # find files modified more than 48 hours ago&lt;BR /&gt;find . -mmin +5 -mmin -10 # find files modifed between 5 and 10 minutes ago&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yang</description>
      <pubDate>Mon, 20 Nov 2006 16:48:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901479#M283070</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-11-20T16:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: find not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901480#M283071</link>
      <description>First, let's not overlook the obvious. Run the date command so that we know what the current time actually is as far as your box is concerned. Your command looks fine.</description>
      <pubDate>Mon, 20 Nov 2006 16:51:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901480#M283071</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-11-20T16:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: find not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901481#M283072</link>
      <description>Please Clay. I am running ntpd.&lt;BR /&gt;If the time on these servers was not correct&lt;BR /&gt;to the second we would here about it from&lt;BR /&gt;production. Believe me. We have.&lt;BR /&gt;Besides. I cannot have files the have a time&lt;BR /&gt;stamp in the future if the time was two days&lt;BR /&gt;back.&lt;BR /&gt;&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;rw-rw-rw-   1 oracle     cedwgs        2091 Nov 20 10:37 BPC_1060908.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs       98902 Nov 20 10:37 BPC_1060908.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        2716 Nov 20 10:46 BPC_1060915.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs      135976 Nov 20 10:46 BPC_1060915.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        2380 Nov 20 10:53 BPC_1060925.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        5487 Nov 20 10:53 BPC_1060925.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        2632 Nov 20 11:01 BPC_1060933.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        5487 Nov 20 11:01 BPC_1060933.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        1067 Nov 20 12:58 BPC_1060942.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        3751 Nov 20 14:02 BPC_1060945.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs       11924 Nov 20 14:02 BPC_1060945.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        3751 Nov 20 14:03 BPC_1060957.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs       11924 Nov 20 14:03 BPC_1060957.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        3841 Nov 20 14:06 BPC_1060969.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        5990 Nov 20 14:06 BPC_1060969.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs       10727 Nov 20 14:59 BPC_1060981.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        1907 Nov 20 15:16 BPC_1060993.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        1177 Nov 20 15:16 BPC_1060997.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        5688 Nov 20 15:16 BPC_1060997.pdf&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        1177 Nov 20 15:17 BPC_1061001.log&lt;BR /&gt;-rw-rw-rw-   1 oracle     cedwgs        6522 Nov 20 15:17 BPC_1061001.pdf&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Nov 2006 16:55:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901481#M283072</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2006-11-20T16:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: find not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901482#M283073</link>
      <description>You might want to try&lt;BR /&gt;&lt;BR /&gt;find . -ctime +1   (changee more than 1 day ago)&lt;BR /&gt;or&lt;BR /&gt;find . -atime +1   (accessed more then 1 day ago)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sonny</description>
      <pubDate>Mon, 20 Nov 2006 17:04:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901482#M283073</guid>
      <dc:creator>Sonny Chee</dc:creator>
      <dc:date>2006-11-20T17:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: find not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901483#M283074</link>
      <description>The datestamps on the files mean absolutely nothing about current time as I could easily create a file with a datestamp 10 years into the future (or past); that's why I wanted a date output. In any event, if your ls -l and your find . command are running from the same current working directory as the same user then find should be working. You might try installing the find cumulative patch (e.g. PHCO_34241 for 11.11) but I'm skeptical. There is something not quite right here (possibly missing search permission on the directory as this user?) You might also humor me and use an absolute path rather than "." in the find command.</description>
      <pubDate>Mon, 20 Nov 2006 17:07:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901483#M283074</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-11-20T17:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: find not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901484#M283075</link>
      <description>If you run that original find command after 2:00 PM today, I think your files will show up.  That's over your 48 hour break point.</description>
      <pubDate>Mon, 20 Nov 2006 17:20:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901484#M283075</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2006-11-20T17:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: find not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901485#M283076</link>
      <description>Hi, Jerry, try "find . -mtime +1|xargs ls -ltr" in /tmp or a dir where you have lots of files created everyday. You will see that it will find files modified more than 48 hours ago but not 24 hours ago.&lt;BR /&gt;&lt;BR /&gt;If you want to find files between 24 and 48 hours use "find . -mtime 1"&lt;BR /&gt;&lt;BR /&gt;Yang</description>
      <pubDate>Mon, 20 Nov 2006 17:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901485#M283076</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-11-20T17:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: find not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901486#M283077</link>
      <description>DUGH!!  Sometime you have a bad day(s).&lt;BR /&gt;&lt;BR /&gt;Thanks Yang.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yang, what is the option "mmin" in &lt;BR /&gt;"find . -mmin +5 -mmin -10 "&lt;BR /&gt;&lt;BR /&gt;mmin?</description>
      <pubDate>Mon, 20 Nov 2006 17:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901486#M283077</guid>
      <dc:creator>jerry1</dc:creator>
      <dc:date>2006-11-20T17:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: find not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901487#M283078</link>
      <description>Hi Jerry,&lt;BR /&gt;&lt;BR /&gt;The -mtime reports files that have changed between the argument to mtime and the time the files are accessed by find. Basically I'm reiterating what has already been said by Clay i.e. to post the current date and time on your server since the diff between that and the file mtime as reported by ls will determine whether the files will show up or not.&lt;BR /&gt;&lt;BR /&gt;~cheers</description>
      <pubDate>Mon, 20 Nov 2006 17:52:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901487#M283078</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-11-20T17:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: find not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901488#M283079</link>
      <description>Hi, Jerry, mmin (modified in minutes) is not available on HPUX. I'm sorry to mention that example.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yang</description>
      <pubDate>Mon, 20 Nov 2006 18:08:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-not-working/m-p/3901488#M283079</guid>
      <dc:creator>Yang Qin_1</dc:creator>
      <dc:date>2006-11-20T18:08:13Z</dc:date>
    </item>
  </channel>
</rss>

