[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux copying



|Note that the piped tar trick does you pretty well:
|
|    $ tar cvf . | ( cd newpath; tar xvf - )
|
|...too, tar is by default verbose and lets you know what's going on.  In
|the above instance, on *both* the read and write sides of the equation.
|
|For synching up two systems, rsync wins over tar.
|

as you said, rsync keeps also good info on permissions, 
pipes, sockets....

best of all, it permits to "continue" if the first copying has failed.
(usefull if there is tons of Gigs to copy)

rsync can be used locally :

rsync -v -a /boot /target


bye
-- 
xavier renaut



Reply to: