Date: Mon, 25 Feb 2008 22:19:19 +0100 From: Henrik Brix Andersen <brix@FreeBSD.org> To: freebsd-current@freebsd.org Subject: Re: Small patch to add -a to cp Message-ID: <20080225211919.GA71164@tirith.brixandersen.dk> In-Reply-To: <200802131153.04293.jhb@freebsd.org> References: <681a18e40802111347i3c23c34cve3c1d08b2eaeff0f@mail.gmail.com> <200802131153.04293.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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? Brix -- Henrik Brix Andersen <brix@FreeBSD.org> [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) Comment: GnuPG signed iEYEARECAAYFAkfDMNcACgkQv+Q4flTiePitMACfRvoASudXxfWrDOILp7Rt3RUt qSkAn28n28Ey7XF2CcwuWUhzL0zXlGsR =jlk6 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080225211919.GA71164>
