<?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: Copy the file system structure in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-the-file-system-structure/m-p/4905732#M405019</link>
    <description>Use find with the option type d &lt;BR /&gt;&lt;BR /&gt;find . -type d |cpio -pvdum &lt;NEW dir="" name=""&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Hilary&lt;/NEW&gt;</description>
    <pubDate>Mon, 06 Jun 2005 04:47:10 GMT</pubDate>
    <dc:creator>Hilary Nicholson</dc:creator>
    <dc:date>2005-06-06T04:47:10Z</dc:date>
    <item>
      <title>Copy the file system structure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-the-file-system-structure/m-p/4905729#M405016</link>
      <description>Hi , &lt;BR /&gt;     How to copy only the file system structure not the files within it .&lt;BR /&gt;&lt;BR /&gt;e.g : I have a folder named "a" and inside one more folder named "b" with some files and similar folders . I just want to copy the empty file system structure with folders and sub-folders not the files .&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Mon, 06 Jun 2005 04:38:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-the-file-system-structure/m-p/4905729#M405016</guid>
      <dc:creator>Ranjit_3</dc:creator>
      <dc:date>2005-06-06T04:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Copy the file system structure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-the-file-system-structure/m-p/4905730#M405017</link>
      <description>Ranjit,&lt;BR /&gt;&lt;BR /&gt;cd &lt;SOURCE-DIR&gt;&lt;BR /&gt;find . -xdev -type d | cpio -pduvmx &lt;TARGET-DIR&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard&lt;/TARGET-DIR&gt;&lt;/SOURCE-DIR&gt;</description>
      <pubDate>Mon, 06 Jun 2005 04:44:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-the-file-system-structure/m-p/4905730#M405017</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2005-06-06T04:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Copy the file system structure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-the-file-system-structure/m-p/4905731#M405018</link>
      <description>Yes. You can try as,&lt;BR /&gt;&lt;BR /&gt;# go to source file system structure directory&lt;BR /&gt;cd /home/source&lt;BR /&gt;&lt;BR /&gt;for dir `find . \( ! -name . \) -type d`&lt;BR /&gt;do&lt;BR /&gt;   &lt;BR /&gt;   mkdir /home/dest/$dir&lt;BR /&gt;&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Mon, 06 Jun 2005 04:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-the-file-system-structure/m-p/4905731#M405018</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-06-06T04:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Copy the file system structure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-the-file-system-structure/m-p/4905732#M405019</link>
      <description>Use find with the option type d &lt;BR /&gt;&lt;BR /&gt;find . -type d |cpio -pvdum &lt;NEW dir="" name=""&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Hilary&lt;/NEW&gt;</description>
      <pubDate>Mon, 06 Jun 2005 04:47:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-the-file-system-structure/m-p/4905732#M405019</guid>
      <dc:creator>Hilary Nicholson</dc:creator>
      <dc:date>2005-06-06T04:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Copy the file system structure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-the-file-system-structure/m-p/4905733#M405020</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use:&lt;BR /&gt;&lt;BR /&gt;#find /folder -type d -exec cp {} /new_structure \;&lt;BR /&gt;&lt;BR /&gt;Enjoy :-)</description>
      <pubDate>Mon, 06 Jun 2005 04:48:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-the-file-system-structure/m-p/4905733#M405020</guid>
      <dc:creator>Pedro Cirne</dc:creator>
      <dc:date>2005-06-06T04:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Copy the file system structure</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-the-file-system-structure/m-p/4905734#M405021</link>
      <description>Thanks to all for the quick answers .&lt;BR /&gt;&lt;BR /&gt;Bye...</description>
      <pubDate>Mon, 06 Jun 2005 04:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-the-file-system-structure/m-p/4905734#M405021</guid>
      <dc:creator>Ranjit_3</dc:creator>
      <dc:date>2005-06-06T04:56:10Z</dc:date>
    </item>
  </channel>
</rss>

