<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4307895#M338932</link>
    <description>Thanks Patrick and James.........It was really very helpful.......so if I want to see any file which is modified in past x days then I have to specify -x with -mtime......one more thing how can I find a file under a directory which is growing continuously with find command........</description>
    <pubDate>Mon, 17 Nov 2008 23:45:31 GMT</pubDate>
    <dc:creator>Kavita Poonia</dc:creator>
    <dc:date>2008-11-17T23:45:31Z</dc:date>
    <item>
      <title>Find Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4307892#M338929</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I want to find out the files under a directory which are modified from past 2 days. Then what syntax should I use with find command.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is the below format okay .........&lt;BR /&gt;&lt;BR /&gt;find /opt -xdev -mtime 2 -exec ll {} \;&lt;BR /&gt;&lt;BR /&gt;Thanks * regards,&lt;BR /&gt;Kavita</description>
      <pubDate>Mon, 17 Nov 2008 21:12:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4307892#M338929</guid>
      <dc:creator>Kavita Poonia</dc:creator>
      <dc:date>2008-11-17T21:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Find Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4307893#M338930</link>
      <description>If you want all files modified during the last 2 days, then you need to use a '-2'.&lt;BR /&gt;&lt;BR /&gt;find /opt -xdev -mtime -2 -exec ll {} \;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Nov 2008 21:15:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4307893#M338930</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-11-17T21:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Find Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4307894#M338931</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Use this:&lt;BR /&gt;&lt;BR /&gt;# find /opt/ -xdev -type f -mtime -2 -exec ls -l {} +&lt;BR /&gt;&lt;BR /&gt;This limits your search to *files* that have been modified sometime in the last 2-days (where a day is exactly 24-hours).  The '-exec' argument is terminated with a "+" instead of a ";".  This causes multiple arguments to be passed to your 'ls' greatly reducing the number of forked processes and thereby greatly improving overall performance.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 17 Nov 2008 21:18:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4307894#M338931</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-11-17T21:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Find Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4307895#M338932</link>
      <description>Thanks Patrick and James.........It was really very helpful.......so if I want to see any file which is modified in past x days then I have to specify -x with -mtime......one more thing how can I find a file under a directory which is growing continuously with find command........</description>
      <pubDate>Mon, 17 Nov 2008 23:45:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4307895#M338932</guid>
      <dc:creator>Kavita Poonia</dc:creator>
      <dc:date>2008-11-17T23:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Find Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4307896#M338933</link>
      <description>&amp;gt;so if I want to see any file which is modified in past x days then I have to specify -x with -mtime&lt;BR /&gt;&lt;BR /&gt;Yes.  But it is exact.  It will not return files modified exactly 2 days ago or 2.5.&lt;BR /&gt;Caution, if you export UNIX95, the dates are completely different.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;how can I find a file under a directory which is growing continuously with find command&lt;BR /&gt;&lt;BR /&gt;This requires you to create a "database" with the size the last time you checked.&lt;BR /&gt;Of course, if the file is always being appended, then all you need is that it was modified.</description>
      <pubDate>Tue, 18 Nov 2008 00:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4307896#M338933</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-18T00:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Find Command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4307897#M338934</link>
      <description>Thanks Dennis.........</description>
      <pubDate>Tue, 18 Nov 2008 01:09:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command/m-p/4307897#M338934</guid>
      <dc:creator>Kavita Poonia</dc:creator>
      <dc:date>2008-11-18T01:09:45Z</dc:date>
    </item>
  </channel>
</rss>

