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

Re: Moving Debian from one HD to another



> Oops.  Another gotcha.  Is there a flag to cp to preserve links as
> links?  

-a

> The disadvantage of making a beeg tarfile is that it will take
> up a lot of room, so you need to have 3x(distribution size) available to
> do it that way.

Just use a pipe:

	( cd oldir ; tar cf - . ) | ( cd newdir ; tar xvf - )

David
-- 
David Engel                        Optical Data Systems, Inc.
david@ods.com                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081



Reply to: