<?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: a problem about find command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/a-problem-about-find-command/m-p/3895918#M282191</link>
    <description>find /tmp -type f ! \( -path "/tmp/test/*" -o -path "/tmp/another_dir/*" \)</description>
    <pubDate>Thu, 09 Nov 2006 21:48:30 GMT</pubDate>
    <dc:creator>Sandman!</dc:creator>
    <dc:date>2006-11-09T21:48:30Z</dc:date>
    <item>
      <title>a problem about find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-problem-about-find-command/m-p/3895916#M282189</link>
      <description>I use "find" command to search files in /tmp,&lt;BR /&gt;but I do not want to search in /tmp/test.&lt;BR /&gt;how can i do,thanks!</description>
      <pubDate>Thu, 09 Nov 2006 21:19:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-problem-about-find-command/m-p/3895916#M282189</guid>
      <dc:creator>lin.chen</dc:creator>
      <dc:date>2006-11-09T21:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: a problem about find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-problem-about-find-command/m-p/3895917#M282190</link>
      <description>Hi Lin:&lt;BR /&gt;&lt;BR /&gt;# find /tmp -type f ! -path "/tmp/test/*"&lt;BR /&gt;&lt;BR /&gt;This will recursively search '/tmp' returning all files but those in '/tmp/test'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Nov 2006 21:45:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-problem-about-find-command/m-p/3895917#M282190</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-11-09T21:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: a problem about find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-problem-about-find-command/m-p/3895918#M282191</link>
      <description>find /tmp -type f ! \( -path "/tmp/test/*" -o -path "/tmp/another_dir/*" \)</description>
      <pubDate>Thu, 09 Nov 2006 21:48:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-problem-about-find-command/m-p/3895918#M282191</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-11-09T21:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: a problem about find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-problem-about-find-command/m-p/3895919#M282192</link>
      <description>&lt;BR /&gt;find /tmp -name 'XYZ' | grep -v '^\/tmp\/test'&lt;BR /&gt;&lt;BR /&gt;Replace XYZ with the filename you want to search.&lt;BR /&gt;Use wildcard if reqd (i.e use 'a*' for finding files starting with 'a', note the single quote while using wildcard).&lt;BR /&gt;&lt;BR /&gt;Searching for a string STRING in those files, use:&lt;BR /&gt;&lt;BR /&gt;grep STRING `find /tmp -name 'XYZ' | grep -v '^\/tmp\/test'`&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Nov 2006 22:49:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-problem-about-find-command/m-p/3895919#M282192</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2006-11-09T22:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: a problem about find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/a-problem-about-find-command/m-p/3895920#M282193</link>
      <description>Hi,&lt;BR /&gt;   The exact switch to use with find command to exclude directories is;&lt;BR /&gt;&lt;BR /&gt;find /tmp -name test-prune -o -print&lt;BR /&gt;&lt;BR /&gt;where,&lt;BR /&gt;&lt;BR /&gt;-prune = Does not examine  any  directories or  files in the directory structure        below the pattern just matched&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Prabu.S</description>
      <pubDate>Fri, 10 Nov 2006 03:31:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/a-problem-about-find-command/m-p/3895920#M282193</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2006-11-10T03:31:37Z</dc:date>
    </item>
  </channel>
</rss>

