Solved

Copy files from SCO Unixware to HP-UX

Posted on 2006-11-16
4
821 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
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IBM flash storage 840 15 67
Shell script errors 10 141
Hyper-threading config in Solaris 6 172
aix unix tar error 3 73
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

828 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