Solved

Copy files from SCO Unixware to HP-UX

Posted on 2006-11-16
4
826 Views
Last Modified: 2013-12-06
Hi,

Anyone know of the best method of copying hundreds of text files some of which are >2GB between a SCO Unixware 7.1.1 platform and a HP-UX 11.23 platform.  I've tried cpio and hit the 2GB limits, tried compressing using compress and tried tar with no luck.  It seems that the cpio/tar achive formats are different.  Also hit the limits of mget if I try to ftp individal files.

Any idea's for maximum points?

Thanks
0
Comment
Question by:wayneinuk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 45

Expert Comment

by:Kent Olsen
ID: 17958255

Hi wayneinuk,

If they're text, why not use head/tail to split the files and send the pieces?


Good Luck,
Kent
0
 
LVL 6

Accepted Solution

by:
JJSmith earned 500 total points
ID: 17960592

Probably have different defaults at each end.

Use -H odc with cpio if you want files up to 8GB. In fact if you control the options like header format and block size on both the cpio -o on SCO and the cpio -i on HP-UX it should work.

You might also like to try 'pax' at both ends, again check the man page for the options and defaults - simple to use; bit like tar.

I'm sure your problem is simply the defaults are different therefore you need to 'dictate' setting at both ends.

SCO unix was a bit special with tar/cpio formats, but I believe SCO unixware is more standard.

Cheers
JJ
0
 

Author Comment

by:wayneinuk
ID: 17961529
Hi Kent,

Thanks for the rapid reply.  The head/tail solution does not help me ftp hundreds of files some >2GB, some only a few KB.  I cannot use mget due to the argument limits.  

Thanks
Wayne
0
 

Author Comment

by:wayneinuk
ID: 18154550
Hi,

Sorry for the delay in getting back.  PAX did the trick nicely.

Thanks
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question