Solved

Copy files from SCO Unixware to HP-UX

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

737 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