On 07/31/2011 10:31 AM, Jim Meyering wrote: > Pádraig Brady wrote: >> I'm still not sure about this new partial mirroring behaviour of >> cp -au, but I don't know how to avoid it. The attached patch at least >> documents the change. > > Thanks. I should have done that. > >> Subject: [PATCH] doc: mention the new mirroring behavior of cp -au >> >> * NEWS: Mention the change in behavior. >> * doc/coreutils.texi (cp invocation): Likewise. >> --- >> NEWS | 3 +++ >> doc/coreutils.texi | 6 ++++-- >> 2 files changed, 7 insertions(+), 2 deletions(-) >> >> diff --git a/NEWS b/NEWS >> index 291ce13..5c957c5 100644 >> --- a/NEWS >> +++ b/NEWS >> @@ -37,6 +37,9 @@ GNU coreutils NEWS -*- >> outline -*- >> chmod, chown and chgrp now output the original attributes in messages, >> when -v or -c specified. >> >> + cp -au (where --preserve=links is implicit) now replaces possibly newer > > s/now replaces/may now replace/ ? > > ...since whether it replaces them depends on the order > in which readdir processes entries in the containing directory.
I considered that but thought it might be too detailed for those consuming the (tex)info. It's better to err on the side of accuracy though, so I'll amend. cheers, Pádraig.