[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Help me build a new /home
- Subject: [ale] Help me build a new /home
- From: kwc at TheWorld.com (Ken Cochran)
- Date: Thu, 9 Aug 2007 00:44:36 -0400 (EDT)
- References: <[email protected]>
>Date: Wed, 08 Aug 2007 23:19:18 -0400
>From: Geoffrey <lists at serioustechnology.com>
>To: Atlanta Linux Enthusiasts <ale at ale.org>
>Subject: Re: [ale] Help me build a new /home
>
>Evan Pitstick wrote:
>> Not a very good play on words....
>>
>> Anyways I am trying to make an exact copy of my /home to a new HD I
>> installed so that I can replace my old home partition with a fancy new
>> 400GB drive of its very own. I dont want to use cp -r as I dont think it
>> will get the drive done and I tried find . -depth -print0 | cpio -pvd0
>> --sparce but I get a two many arguments error. does anybody know of a
>> good way of getting a good exact copy?
>
>cd /home
>tar -cf -- | (cd /newhome; tar -xf --)
>
>--
>Until later, Geoffrey
Or, for a cpio version: (man cpio of course :)
cd /home
find . | cpio -pudmv /new/home
-kc