Re: copying a file system across the network
On Tue, 2 Jan 2001, ha shao wrote:
> On Tue, Jan 02, 2001 at 06:10:22PM +0800, allen@cleo.murdoch.edu.au wrote:
> >
> > Past messages have detailed how to copy a file system from one drive to
> > another, but now I need to do it across the network. Of course I need to
> > preserve soft and hard links and device files.
> >
> > I do have a tape device here, but at 525Mb it's nowhere near big enough
> > for the job. I have ssh but not rsh.
> >
>
> rsync
specifically: rsync -apr -lH -e ssh src dst
-a archive mode
-p preserve permissions
-r recursive
-l preserve soft links
-H preserve hard links
-e rsh command (substitute)
see rsync for syntax of src and dst.
HTH,
[]s
Mario O.de Menezes "Many are the plans in a man's heart, but
IPEN-CNEN/SP is the Lord's purpose that prevails"
http://curiango.ipen.br/~mario Prov. 19.21
Reply to: