<?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: how to search for .tar and .pcb files on HPUX11? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-search-for-tar-and-pcb-files-on-hpux11/m-p/7190622#M948482</link>
    <description>&lt;P&gt;&amp;gt; [...] on a HPUX11 machine [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Vague.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uname -a&lt;/P&gt;&lt;P&gt;&amp;gt; This will search the entire file system starting from the root&lt;BR /&gt;&amp;gt; directory("/") [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; In my experience, specifying "/" as a path for "find" seldom ends&lt;BR /&gt;well.&amp;nbsp; Too many things in "/dev" which can't be read in finite time, for&lt;BR /&gt;example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Also, if NFS (or some other file-sharing software) is in use, you&lt;BR /&gt;might end up trying to search a significant fraction of the known&lt;BR /&gt;universe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I might use a command like "mount" or "df" to try to identify the&lt;BR /&gt;local file systems, and then specify one or more of those instead of&lt;BR /&gt;"/".&amp;nbsp; And then use the "-xdev" option to avoid straying into dangerous&lt;BR /&gt;territory.&lt;/P&gt;&lt;P&gt;&amp;gt; I don[']t come frrom a Unix background [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; man find&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You might discover operators which would let you do more a more&lt;BR /&gt;complex search with one command. For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; find /opt /usr -xdev -name '*.pcb' -o -name '*.tar'&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2023 17:55:26 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2023-06-23T17:55:26Z</dc:date>
    <item>
      <title>how to search for .tar and .pcb files on HPUX11?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-search-for-tar-and-pcb-files-on-hpux11/m-p/7190588#M948480</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont come frrom a Unix background and would like some help in what commands I should use to locate all .tar and .pcb on a HPUX11 machine please&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 12:45:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-search-for-tar-and-pcb-files-on-hpux11/m-p/7190588#M948480</guid>
      <dc:creator>Amiko</dc:creator>
      <dc:date>2023-06-23T12:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to search for .tar and .pcb files on HPUX11?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-search-for-tar-and-pcb-files-on-hpux11/m-p/7190597#M948481</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2164093" target="_self"&gt;&lt;SPAN class=""&gt;Amiko&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;If you are looking for commands to find all .tar and .pcb files use the following commands.&lt;/P&gt;&lt;P&gt;1. Command to find all .tar files&lt;BR /&gt;find / -name "*.tar"&lt;BR /&gt;This will search the entire file system starting from the root directory("/") and list all files with the .tar extension.&lt;/P&gt;&lt;P&gt;2. Command to find all .pcb files&lt;BR /&gt;find / -name "*.pcb"&lt;BR /&gt;This&amp;nbsp; will search the entire file system starting from the root directory("/") and list all files with the .pcb extension.&lt;/P&gt;&lt;P&gt;As searching from root directory can give you all the results it would be time-consuming, so you might want to narrow down the search to specific directories if you have an idea of where the files might be located by specifying directory name in the place of "/" in this example.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;&lt;A href="https://community.hpe.com/t5/user/ViewProfilePage/user-id/2055988" target="_blank" rel="noopener"&gt;SUSH_S&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 12:16:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-search-for-tar-and-pcb-files-on-hpux11/m-p/7190597#M948481</guid>
      <dc:creator>Sush_S</dc:creator>
      <dc:date>2023-06-23T12:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to search for .tar and .pcb files on HPUX11?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-search-for-tar-and-pcb-files-on-hpux11/m-p/7190622#M948482</link>
      <description>&lt;P&gt;&amp;gt; [...] on a HPUX11 machine [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Vague.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; uname -a&lt;/P&gt;&lt;P&gt;&amp;gt; This will search the entire file system starting from the root&lt;BR /&gt;&amp;gt; directory("/") [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; In my experience, specifying "/" as a path for "find" seldom ends&lt;BR /&gt;well.&amp;nbsp; Too many things in "/dev" which can't be read in finite time, for&lt;BR /&gt;example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Also, if NFS (or some other file-sharing software) is in use, you&lt;BR /&gt;might end up trying to search a significant fraction of the known&lt;BR /&gt;universe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I might use a command like "mount" or "df" to try to identify the&lt;BR /&gt;local file systems, and then specify one or more of those instead of&lt;BR /&gt;"/".&amp;nbsp; And then use the "-xdev" option to avoid straying into dangerous&lt;BR /&gt;territory.&lt;/P&gt;&lt;P&gt;&amp;gt; I don[']t come frrom a Unix background [...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; man find&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You might discover operators which would let you do more a more&lt;BR /&gt;complex search with one command. For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; find /opt /usr -xdev -name '*.pcb' -o -name '*.tar'&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 17:55:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-search-for-tar-and-pcb-files-on-hpux11/m-p/7190622#M948482</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2023-06-23T17:55:26Z</dc:date>
    </item>
  </channel>
</rss>

