Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 830
  • Last Modified:

Copy files from SCO Unixware to HP-UX

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
wayneinuk
Asked:
wayneinuk
  • 2
1 Solution
 
Kent OlsenData Warehouse Architect / DBACommented:

Hi wayneinuk,

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


Good Luck,
Kent
0
 
JJSmithCommented:

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
 
wayneinukAuthor Commented:
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
 
wayneinukAuthor Commented:
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!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now