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

Re: New Hard Disk



Syd Alsobrook wrote:
> I'm trying to add space to my system and all i have is a 170meg HD what I
> want to do is move everything from /usr/lib to the new HD and have the new
> drive mount at that point. I would like to have the move done in one
> command. is that posible or will i have to move the whole tree by hand?
> Syd

Try
     cd /usr ; find lib -print | cpio -pd /mnt
or
     cp -a /usr/lib /mnt/lib
or
     ( cd /usr ; tar czf - lib ) | ( cd /mnt ; tar xvzf - )

Bye.

-- 
 Eric Delaunay                 | "La guerre justifie l'existence des militaires.
 delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: