[ale] Help me build a new /home

Geoffrey lists at serioustechnology.com
Wed Aug 8 23:19:18 EDT 2007


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

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin



More information about the Ale mailing list