Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2006 16:38:14 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org>, Doug Barton <dougb@freebsd.org>
Subject:   Re: [PATCH] adding two new options to 'cp'
Message-ID:  <200607311638.15298.jhb@freebsd.org>
In-Reply-To: <17614.20892.315747.115331@bhuda.mired.org>
References:  <200607271150.k6RBoM9p031745@lurza.secnetix.de> <44CE4AD0.60409@centtech.com> <17614.20892.315747.115331@bhuda.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 31 July 2006 14:53, Mike Meyer wrote:
> Which points up an obvious question: other than compatibility with
> Linux, is there any reason this functionaly shouldn't be added to the
> ln command instead?

Umm, because ln doesn't copy hierarchies?  Using that argument we'd remove 
support for hard-links from tar and cpio.  I think cp -a is harmless (just as 
I use rsync -a all the time rather than rsync -rlptgoD) and cp -l is probably 
useful.  Really, it is more intuitive to be able to copy a hierarchy using 
the 'copy' command (cp) directly rather than a convoluted pair of find | 
cpio.  In this case I think you might be overly paranoid. :)

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607311638.15298.jhb>