From owner-freebsd-current@FreeBSD.ORG Mon Feb 25 21:19:23 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 046E916A40D for ; Mon, 25 Feb 2008 21:19:23 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id C132E13C4D5 for ; Mon, 25 Feb 2008 21:19:22 +0000 (UTC) (envelope-from brix@FreeBSD.org) Received: from tirith.brixandersen.dk (0x55534f5f.adsl.cybercity.dk [85.83.79.95]) by solow.pil.dk (Postfix) with ESMTP id 004A31CC0C4 for ; Mon, 25 Feb 2008 22:19:21 +0100 (CET) Received: by tirith.brixandersen.dk (Postfix, from userid 1001) id 2018411436; Mon, 25 Feb 2008 22:19:20 +0100 (CET) Date: Mon, 25 Feb 2008 22:19:19 +0100 From: Henrik Brix Andersen To: freebsd-current@freebsd.org Message-ID: <20080225211919.GA71164@tirith.brixandersen.dk> Mail-Followup-To: freebsd-current@freebsd.org References: <681a18e40802111347i3c23c34cve3c1d08b2eaeff0f@mail.gmail.com> <200802131153.04293.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline In-Reply-To: <200802131153.04293.jhb@freebsd.org> X-PGP-Key: http://www.brixandersen.dk/files/HenrikBrixAndersen.asc User-Agent: Mutt/1.5.17 (2007-11-01) Subject: Re: Small patch to add -a to cp X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 21:19:23 -0000 --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 --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--