Computing.Net > Forums > Unix > transfer data in unix platform

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

transfer data in unix platform

Reply to Message Icon

Name: Steven
Date: October 29, 1999 at 15:30:55 Pacific
Comment:

I am trying to transfer data from one server to another. I used both tar and gtar but could not able to transfer all data completely since there are internal links and owner ship mixing inside the sub directories. Is there a command that will be able to transfer all data from one machine to the other ( note: Besides using tape back up. I want to transfer files directly from one machine to another within the network )
Thanks eheadany advice.
Regards,
Steven



Sponsored Link
Ads by Google

Response Number 1
Name: Anthony
Date: November 1, 1999 at 05:11:13 Pacific
Reply:

You could try this:

Your second machines (lets call it fred)will need a .rhosts setup

Then login to your first machine and type:
cd /mydirectory

find . -print | cpio -oB | rsh fred 'cd /newdirectory;cpio -ivdumB'

Please note rsh means remote shell, on systems this is rcmd

This works for me as it keeps all permissions and ownership, I hope it's works for you.

Anthony.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: transfer data in unix platform

editor in unix www.computing.net/answers/unix/editor-in-unix/5578.html

Variable Block file in Unix www.computing.net/answers/unix/variable-block-file-in-unix/3532.html

how to read binary files in Unix www.computing.net/answers/unix/how-to-read-binary-files-in-unix/4566.html