<?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 Copy Files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506577#M217565</link>
    <description>Hi unix gurus, how to copy folder and its subfolders include their files that rest in them to the new destination folder?Thanks in advance.</description>
    <pubDate>Thu, 17 Mar 2005 02:49:36 GMT</pubDate>
    <dc:creator>zap_2</dc:creator>
    <dc:date>2005-03-17T02:49:36Z</dc:date>
    <item>
      <title>Copy Files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506577#M217565</link>
      <description>Hi unix gurus, how to copy folder and its subfolders include their files that rest in them to the new destination folder?Thanks in advance.</description>
      <pubDate>Thu, 17 Mar 2005 02:49:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506577#M217565</guid>
      <dc:creator>zap_2</dc:creator>
      <dc:date>2005-03-17T02:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506578#M217566</link>
      <description>tar cvf /new_dir/old_dir.tar old_dir&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Thu, 17 Mar 2005 02:55:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506578#M217566</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2005-03-17T02:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506579#M217567</link>
      <description>cp -r /old_dir /new_dir&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Mar 2005 02:59:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506579#M217567</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-03-17T02:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506580#M217568</link>
      <description>I forgot to mention that after you've created the tar file you need to:&lt;BR /&gt;&lt;BR /&gt;cd /new_dir&lt;BR /&gt;tar xvf old_dir.tar&lt;BR /&gt;&lt;BR /&gt;but if the directory is small, the cp suggestion you've received is just as good.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 17 Mar 2005 03:14:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506580#M217568</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2005-03-17T03:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506581#M217569</link>
      <description>Hi,&lt;BR /&gt;I prefer find/cpio for that task:&lt;BR /&gt;&lt;BR /&gt;find . -print |cpio -pdvmux &lt;DEST_DIR&gt;&lt;/DEST_DIR&gt;</description>
      <pubDate>Thu, 17 Mar 2005 07:44:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506581#M217569</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2005-03-17T07:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506582#M217570</link>
      <description>on the SAME machine??&lt;BR /&gt;&lt;BR /&gt;"mv"&lt;BR /&gt;&lt;BR /&gt;mv OLDfolder NEWfolder&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
      <pubDate>Thu, 17 Mar 2005 08:28:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506582#M217570</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2005-03-17T08:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506583#M217571</link>
      <description>Definitely the cpio method.&lt;BR /&gt;&lt;BR /&gt;tar will work also.&lt;BR /&gt;&lt;BR /&gt;the "cp" should NOT be used.  If you have links the cp will follow the link and copy files NOT in the directory, but pointed to by the links.&lt;BR /&gt;&lt;BR /&gt;1. cd /dir&lt;BR /&gt; find . -depth -xdev -print | cpio -pdum /newdir&lt;BR /&gt;&lt;BR /&gt; where: /newdir already exists!&lt;BR /&gt;&lt;BR /&gt;2. cd /fromdir&lt;BR /&gt; tar cf - . | (cd /todir; tar xf - )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;C. NOTE:  When copying, the copy seems to go faster when you have &lt;BR /&gt; "cleaned" off the target file systems.  If data exists, he tries to &lt;BR /&gt; fit the new data in with the old (searching inode tables, etc.).  &lt;BR /&gt; If the new file system is clean, he just writes the data out.  Faster.</description>
      <pubDate>Thu, 17 Mar 2005 08:30:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506583#M217571</guid>
      <dc:creator>Stuart Abramson</dc:creator>
      <dc:date>2005-03-17T08:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506584#M217572</link>
      <description>As Harry mentioned - mv works great....&lt;BR /&gt;&lt;BR /&gt;If it's filesytem based - vxdump is good as well:&lt;BR /&gt;&lt;BR /&gt;vxdump -0 -f - -s 1000000 -b 16 /currentmount |  (cd /newmount  ; vxrestore rf -)&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 17 Mar 2005 09:59:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506584#M217572</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-03-17T09:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506585#M217573</link>
      <description>Stuart Wrote:&lt;BR /&gt;&amp;gt; the "cp" should NOT be used. If you have links the &lt;BR /&gt;&amp;gt; cp will follow the link and copy files NOT in the &lt;BR /&gt;&amp;gt; directory, but pointed to by the links.&lt;BR /&gt;&lt;BR /&gt;From cp(1) manpage for option '-R', it says the &lt;BR /&gt;following:&lt;BR /&gt;&lt;BR /&gt;...Symbolic links are copied so that the target points&lt;BR /&gt;to the same location that the source did.&lt;BR /&gt;&lt;BR /&gt;I thought that's what the user wanted to do.&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Mar 2005 13:34:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506585#M217573</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-03-17T13:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506586#M217574</link>
      <description>I think that my reply to the following post may help you (look at the "Local" part).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=837512&amp;amp;admit=716493758+1111188312291+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=837512&amp;amp;admit=716493758+1111188312291+28353475&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You may also want to look at the attached file (in the same post), for alternatives.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Alex&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Mar 2005 18:29:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-files/m-p/3506586#M217574</guid>
      <dc:creator>Alexandre Dumont_1</dc:creator>
      <dc:date>2005-03-18T18:29:54Z</dc:date>
    </item>
  </channel>
</rss>

