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

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.


thanks,
Hamish
-- 
Hamish Moffatt, hamish@debian.org, hamish@rising.com.au, hmoffatt@mail.com
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
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: