<?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: question on find command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-find-command/m-p/4792571#M391925</link>
    <description>Hi Doug:&lt;BR /&gt;&lt;BR /&gt;The 'find()' did what you told it to do --- don't cross mountpoints. &lt;BR /&gt;&lt;BR /&gt;You limited directory traversal to '/' without visiting any mountpoints (in HP-UX, '/usr', '/var', '/opt', etc.).  SInce '/etc' isn't a separate mountpoint it was copied.  I have to assume that '/mydir' is a mounted filesystem.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Thu, 26 May 2011 18:02:57 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2011-05-26T18:02:57Z</dc:date>
    <item>
      <title>question on find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-find-command/m-p/4792570#M391924</link>
      <description>Hi there, I have a simple question I am unable to find an answer to in man, itrc or the internet.&lt;BR /&gt;&lt;BR /&gt;I have been using find in various ways to locate files buried deep into dir structures.  I want to make a quick cpio to a nfs share on a disaster recovery server.   The command did not work as I expected, copying the directory but it did not copy the directories/files.&lt;BR /&gt;&lt;BR /&gt;cd /&lt;BR /&gt;find . -xdev -depth -print | cpio -pdmuv /drnfs/cpio2011May26&lt;BR /&gt;&lt;BR /&gt;This copied say /etc and associated directories but did not copy /mydir/mydir2/myfile123.&lt;BR /&gt;&lt;BR /&gt;I must be missing something easy or not understanding how the find command navigates the directory structure.  Any help will be greatly appreciated.&lt;BR /&gt;Regards,&lt;BR /&gt;Doug</description>
      <pubDate>Thu, 26 May 2011 17:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-find-command/m-p/4792570#M391924</guid>
      <dc:creator>Doug_3</dc:creator>
      <dc:date>2011-05-26T17:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: question on find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-find-command/m-p/4792571#M391925</link>
      <description>Hi Doug:&lt;BR /&gt;&lt;BR /&gt;The 'find()' did what you told it to do --- don't cross mountpoints. &lt;BR /&gt;&lt;BR /&gt;You limited directory traversal to '/' without visiting any mountpoints (in HP-UX, '/usr', '/var', '/opt', etc.).  SInce '/etc' isn't a separate mountpoint it was copied.  I have to assume that '/mydir' is a mounted filesystem.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 26 May 2011 18:02:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-find-command/m-p/4792571#M391925</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-05-26T18:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: question on find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-find-command/m-p/4792572#M391926</link>
      <description>remove the -xdev option if you want to traverse on other filesystems.</description>
      <pubDate>Thu, 26 May 2011 20:32:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-find-command/m-p/4792572#M391926</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2011-05-26T20:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: question on find command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-find-command/m-p/4792573#M391927</link>
      <description>sheesh, I blew right past that in the man page.  Thanks to both of you.</description>
      <pubDate>Thu, 26 May 2011 20:49:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-find-command/m-p/4792573#M391927</guid>
      <dc:creator>Doug_3</dc:creator>
      <dc:date>2011-05-26T20:49:50Z</dc:date>
    </item>
  </channel>
</rss>

