<?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 Linux to Solaris copying in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-to-solaris-copying/m-p/3288333#M12356</link>
    <description>Team,&lt;BR /&gt;&lt;BR /&gt;I am not getting the proper syntax of the command. Basically I want to copy a file system from Solaris to Linux. Example:/oracle. The rsh from solaris to linux is working fine for root. I am using the command&lt;BR /&gt;&lt;BR /&gt;#tar cvf - /oracle ; rsh 10.24.200.108 ( cd /oracle - tar xvf )&lt;BR /&gt;</description>
    <pubDate>Thu, 27 May 2004 05:05:21 GMT</pubDate>
    <dc:creator>Niranjan_10</dc:creator>
    <dc:date>2004-05-27T05:05:21Z</dc:date>
    <item>
      <title>Linux to Solaris copying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-to-solaris-copying/m-p/3288333#M12356</link>
      <description>Team,&lt;BR /&gt;&lt;BR /&gt;I am not getting the proper syntax of the command. Basically I want to copy a file system from Solaris to Linux. Example:/oracle. The rsh from solaris to linux is working fine for root. I am using the command&lt;BR /&gt;&lt;BR /&gt;#tar cvf - /oracle ; rsh 10.24.200.108 ( cd /oracle - tar xvf )&lt;BR /&gt;</description>
      <pubDate>Thu, 27 May 2004 05:05:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-to-solaris-copying/m-p/3288333#M12356</guid>
      <dc:creator>Niranjan_10</dc:creator>
      <dc:date>2004-05-27T05:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linux to Solaris copying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-to-solaris-copying/m-p/3288334#M12357</link>
      <description>#tar cvf - /oracle | rsh  10.24.200.108 (cd /oracle &amp;amp;&amp;amp; tar xvf -)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 May 2004 05:13:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-to-solaris-copying/m-p/3288334#M12357</guid>
      <dc:creator>Roberto Polli</dc:creator>
      <dc:date>2004-05-27T05:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Linux to Solaris copying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-to-solaris-copying/m-p/3288335#M12358</link>
      <description>the "real cool" linux cmd is&lt;BR /&gt;&lt;BR /&gt;tar cvf - /oracle| rsh 10.24.200.108 "tar -C /oracle -xvf -"&lt;BR /&gt;&lt;BR /&gt;it works on Tru64 too. Don't know on solaris.&lt;BR /&gt;&lt;BR /&gt;Anyway gnu-tar (aka gtar) is able to rsh automatically while tarring (ex&lt;BR /&gt;tar cf - solarishost:/oracle |tar -C /tgt/dir/ -tvf -&lt;BR /&gt;&lt;BR /&gt;look@man&lt;BR /&gt;&lt;BR /&gt;peace,r</description>
      <pubDate>Thu, 27 May 2004 05:16:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-to-solaris-copying/m-p/3288335#M12358</guid>
      <dc:creator>Roberto Polli</dc:creator>
      <dc:date>2004-05-27T05:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Linux to Solaris copying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-to-solaris-copying/m-p/3288336#M12359</link>
      <description>Hi Roberto,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. &lt;BR /&gt;If I run the below command on solaris&lt;BR /&gt;[tar cvf - /oracle | rsh 10.24.200.108 (cd /oracle &amp;amp;&amp;amp; tar xvf -)] i am getting the following error...&lt;BR /&gt;"syntax error: `(' unexpected"&lt;BR /&gt;&lt;BR /&gt;But the Second command works with a little modification as below..&lt;BR /&gt;[tar cvf - /oracle | rsh 10.24.200.108 "tar -C / -xvf -"].&lt;BR /&gt;With your original syntax it creates another folder by name oracle under /oracle and copies the data. Thanks for the inputs. Will rate it.</description>
      <pubDate>Thu, 27 May 2004 05:44:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-to-solaris-copying/m-p/3288336#M12359</guid>
      <dc:creator>Niranjan_10</dc:creator>
      <dc:date>2004-05-27T05:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linux to Solaris copying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-to-solaris-copying/m-p/3288337#M12360</link>
      <description>just one warning: using tar in / dir. is not a real safe thing.&lt;BR /&gt;&lt;BR /&gt;Check on man about using correctly the -C optins and test it untill you're really sure about its work. &lt;BR /&gt;Remember also that options work differently between different OS'es  so always check man.&lt;BR /&gt;&lt;BR /&gt;to make the parenthesis work enclose'em in ""&lt;BR /&gt;so&lt;BR /&gt;&lt;BR /&gt;tar cvf -  ./dir|rsh host "(cd /path/to1  &amp;amp;&amp;amp; tar tvf -)"&lt;BR /&gt;should me the more platform-independent cmd&lt;BR /&gt;&lt;BR /&gt;Peace, r.</description>
      <pubDate>Thu, 27 May 2004 05:52:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-to-solaris-copying/m-p/3288337#M12360</guid>
      <dc:creator>Roberto Polli</dc:creator>
      <dc:date>2004-05-27T05:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Linux to Solaris copying</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-to-solaris-copying/m-p/3288338#M12361</link>
      <description>the last command works perfectly fine. Thankyou roberto polli</description>
      <pubDate>Thu, 27 May 2004 06:53:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-to-solaris-copying/m-p/3288338#M12361</guid>
      <dc:creator>Niranjan_10</dc:creator>
      <dc:date>2004-05-27T06:53:52Z</dc:date>
    </item>
  </channel>
</rss>

