Re: Copying Directory Structures
From: Stephen M. Dunn (stephen_at_stevedunn.ca)
Date: 07/22/03
- Next message: Edward Hooper: "Re: Mouse issues on IBM @server xSeries 335 using OSR5.0.6"
- Previous message: Rebecca: "How to locate memory dump file"
- In reply to: Joe Burns: "Copying Directory Structures"
- Next in thread: Jean-Pierre Radley: "Re: Copying Directory Structures"
- Reply: Jean-Pierre Radley: "Re: Copying Directory Structures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 22 Jul 2003 16:40:04 GMT
In article <tF9Ta.23684$b03.1019@lakeread03> "Joe Burns" <joeburns@callageek.com> writes:
$ Now I need to copy
$the entire contents, with the same file ownerships, groups, etc intact, from
$the old system to the new system. I can't remember how to do that. I
$believe that I used to use UUCP between servers when I would dial-up from
$one city to the other (about 10 years ago), but I never had to do this
$process across an Ethernet connection. Would I use "uucp" or "rcp" or
$something else?
I'm not claiming this is necessarily the best way, but I've done
this before using rcmd - something like (run this on the source machine):
find | cpio -o | rcmd destinationmachine "cd /wherever; cpio -i"
You'll have to add appropriate arguments to the find and cpio
and cpio commands; the man pages for those two have plenty of
information.
Doing it this way, you don't have any temporary files; the output
of cpio on the source machine is fed across the network to the input
of cpio on the destination machine.
-- Stephen M. Dunn <stephen@stevedunn.ca> >>>----------------> http://www.stevedunn.ca/ <----------------<<< ------------------------------------------------------------------ Say hi to my cat -- http://www.stevedunn.ca/photos/toby/
- Next message: Edward Hooper: "Re: Mouse issues on IBM @server xSeries 335 using OSR5.0.6"
- Previous message: Rebecca: "How to locate memory dump file"
- In reply to: Joe Burns: "Copying Directory Structures"
- Next in thread: Jean-Pierre Radley: "Re: Copying Directory Structures"
- Reply: Jean-Pierre Radley: "Re: Copying Directory Structures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]