On Thu, 13 Apr 2000, Angus Lees wrote:

> > I need to copy the contents of a linux partition onto a bigger
> > partition on a replacement harddisk. I'd like an exact copy with all
> > the permissions intact, etc.
> > Would a  simple  cp -a /oldhd/* /newhd/*   do the trick is there a
> > better way?
> 
> "cp -a" works fine - its only these old-worlder (preGNU) types who
> resort to the "tar c | tar x" tricks ;)

It doesn't, actually - cp -a does _not_ copy . files - I used this exact
method to swap my old /root directory to a new hard drive, and it left
behind all the environment and config files. :-(

DaZZa

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to