<?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: finding files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484656#M799215</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;here you are:&lt;BR /&gt;&lt;BR /&gt;find &lt;DIR&gt; ! -name '*willy*' -print&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/DIR&gt;</description>
    <pubDate>Fri, 19 Jan 2001 15:52:37 GMT</pubDate>
    <dc:creator>Andreas Voss</dc:creator>
    <dc:date>2001-01-19T15:52:37Z</dc:date>
    <item>
      <title>finding files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484655#M799214</link>
      <description>Hi all,&lt;BR /&gt;I need on hp-ux 11 to find files that does not contain a particular word.&lt;BR /&gt;For example I need to find all files that the word "willy" is not present.&lt;BR /&gt;Anybody can help me?&lt;BR /&gt;&lt;BR /&gt;Roberto</description>
      <pubDate>Fri, 19 Jan 2001 15:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484655#M799214</guid>
      <dc:creator>Roberto Gallis</dc:creator>
      <dc:date>2001-01-19T15:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: finding files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484656#M799215</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;here you are:&lt;BR /&gt;&lt;BR /&gt;find &lt;DIR&gt; ! -name '*willy*' -print&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/DIR&gt;</description>
      <pubDate>Fri, 19 Jan 2001 15:52:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484656#M799215</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2001-01-19T15:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: finding files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484657#M799216</link>
      <description>Roberto:&lt;BR /&gt;&lt;BR /&gt;# grep -v willy *&lt;BR /&gt;&lt;BR /&gt;This will operate on all files in the current directory displaying the filenames where "willy" does NOT exist.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 19 Jan 2001 15:56:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484657#M799216</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-19T15:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: finding files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484658#M799217</link>
      <description>This method is good when you are searching a specific set of subdirectories&lt;BR /&gt;&lt;BR /&gt;find /thedirectory -print | xargs grep -c "willy" | grep ":0$"&lt;BR /&gt;&lt;BR /&gt;The "-c" option of grep returns number of lines that pattern exists. The second grep will display those filenames that don't have "willy".</description>
      <pubDate>Fri, 19 Jan 2001 15:58:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484658#M799217</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2001-01-19T15:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: finding files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484659#M799218</link>
      <description>if you are looking for file containing the word willy and not willy in the file name, try this:&lt;BR /&gt;&lt;BR /&gt;Go to the dir you wish to search&lt;BR /&gt;&lt;BR /&gt;find . -type f | while read line&lt;BR /&gt;do&lt;BR /&gt;if grep "willy" $line &amp;gt; /dev/null&lt;BR /&gt;then&lt;BR /&gt;echo $line&lt;BR /&gt;fi&lt;BR /&gt;done&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Jan 2001 16:05:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484659#M799218</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-01-19T16:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: finding files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484660#M799219</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;grep -v willy *&lt;BR /&gt;display the content of all files except the lines containing  "willy"&lt;BR /&gt;&lt;BR /&gt;Scripts of Joseph and Rodney do what I need.&lt;BR /&gt;Thank you all&lt;BR /&gt;Sincerly&lt;BR /&gt;Roberto</description>
      <pubDate>Mon, 22 Jan 2001 14:46:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484660#M799219</guid>
      <dc:creator>Roberto Gallis</dc:creator>
      <dc:date>2001-01-22T14:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: finding files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484661#M799220</link>
      <description>for Joseph:&lt;BR /&gt;&lt;BR /&gt;I've added -v to the line&lt;BR /&gt;if grep "paperino" $line &amp;gt; /dev/null&lt;BR /&gt;and had what I need.&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Roberto</description>
      <pubDate>Mon, 22 Jan 2001 15:08:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/finding-files/m-p/2484661#M799220</guid>
      <dc:creator>Roberto Gallis</dc:creator>
      <dc:date>2001-01-22T15:08:11Z</dc:date>
    </item>
  </channel>
</rss>

