Solved

Copy files from SCO Unixware to HP-UX

Posted on 2006-11-16
4
817 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:Kdo
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Configuring EMC Clariion on Solaris 10 5 66
AIX print queues constantly going down 11 454
AIX  NFS  question 1 100
Write an app 10 61
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now