Small patch to add -a to cp
Henrik Brix Andersen
brix at FreeBSD.org
Mon Feb 25 21:19:23 UTC 2008
On Wed, Feb 13, 2008 at 11:53:04AM -0500, John Baldwin wrote:
> On Monday 11 February 2008 04:47:44 pm David Frascone wrote:
> > This small patch adds the -a (archive) flag to cp. Personally, I use cp -a
> > all the time, and I miss it on BSD. This makes cp share the common -a flag
> > with rsync and other file manipulation utilities.
> > Comments, flames, etc welcome.
> I have this patch from the last time this came up. It maps -a to -RpP rather
> than -rpP though. Since -r won't preserve symlinks but copy their contents, I
> think -RpP is probably the better default.
Looks good to me, yes. Does anybody have any objections to this option
being added to cp(1) in -current?
Henrik Brix Andersen <brix at FreeBSD.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 217 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080225/77865d30/attachment.pgp
More information about the freebsd-current