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. thanks, Hamish -- Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] 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 [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .