Re: file system copying nightmare
On Sun, Feb 08, 1998 at 10:45:04PM +1100, Craig Sanders wrote:
> > cp -ax /* /mnt
> > ( cd /; tar clvf - * ) | ( cd /mnt; tar xf - )
> that's because you're TELLING cp and tar to copy /mnt. * matches
> everything, remember...so cp -af /* /mnt means copy everything in /
> (including /mnt) to /mnt.
Hmmmm. Fair enough, although counter-intuitive to me at least.
Hamish Moffatt, firstname.lastname@example.org, email@example.com, firstname.lastname@example.org
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome. http://hamish.home.ml.org
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .