Re: Moving Debian from one HD to another
On Thu, 11 Apr 1996, David L. Johnson wrote:
> Oops. Another gotcha. Is there a flag to cp to preserve links as
> links? 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.
>
what about simple:
# (cd /olddir; tar cf - * .[^.]* ) | (cd /newdir; tar xvf - )
no additional space requred. (BTW idea is from mini-tips.HOWTO) I hope
smeone corrects me if I have made any stupid typos here.
Reply to: