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
--huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 c= p -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. > >=20 > > Comments, flames, etc welcome. >=20 > I have this patch from the last time this came up. It maps -a to -RpP ra= ther > than -rpP though. Since -r won't preserve symlinks but copy their conten= ts, I > think -RpP is probably the better default. =2E.. Looks good to me, yes. Does anybody have any objections to this option being added to cp(1) in -current? Brix --=20 Henrik Brix Andersen <brix@FreeBSD.org> --huq684BweRXVnRxX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) Comment: GnuPG signed iEYEARECAAYFAkfDMNcACgkQv+Q4flTiePitMACfRvoASudXxfWrDOILp7Rt3RUt qSkAn28n28Ey7XF2CcwuWUhzL0zXlGsR =jlk6 -----END PGP SIGNATURE----- --huq684BweRXVnRxX--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080225211919.GA71164>