Small patch to add -a to cp

Eric Anderson anderson at freebsd.org
Tue Feb 12 02:23:48 UTC 2008


Henrik Brix Andersen wrote:
> On Mon, Feb 11, 2008 at 04:47:44PM -0500, 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.
> 
> I, for one, would welcome this addition - I often find myself typing
> 'cp -a' only to get an error message and then find myself having to
> look up the correct combination of arguments to achieve the intended
> functionality.
> 
> Brix


I think it's great.  Actually, I did the same about 1.5 yrs ago (see 
here: 
http://lists.freebsd.org/pipermail/freebsd-hackers/2006-August/017540.html 
), and the -a option got shot down.

I hope you have more luck! :)

Eric



More information about the freebsd-current mailing list