Re: how to migrate installs between hard drives?

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



On 07/30/09 at 12:39pm, solsTiCe d'Hiver wrote:
> > I tried a simple 'cp -av' [...] and find that everything is set to
> > root / root
> 
> if you want to preserve permission, you need to use -p too.
> 
> Do you know that there exists something called the man pages (the manual
> pages) for each command on your system ?
> so if you run 'man cp', you get a list of all the options of cp and how
> it works.

man cp said:

  -a --archive
          same as -dR --preserve=all

so shouldn't -a work just fine? (-p is --preserve btw) it worked fine
for me when i migrated from 32 to 64 bit by reinstalling and restoring
/home /etc

-- 
patrick brisbin 


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux