[ale] Help me build a new /home

Ken Cochran kwc at TheWorld.com
Thu Aug 9 00:44:36 EDT 2007


>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



More information about the Ale mailing list