List Archive: gentoo-dev
>>>>> On Mon, 30 Mar 2009, ABCD wrote:
> Personally, I would use
> find "${D}" -type f \! -newermt "@${stamp1}" -exec \
> touch -c -d "@${stamp1}" {} +
> and
> find "${D}" -type f -newermt "@${stamp2}" -exec \
> touch -c -d "@${stamp2}" {} +
> to avoid an unneeded call to xargs.
Right. And it can be done in one command:
find "${D}" -type f \
\( \! -newermt "@${stamp1}" -exec touch -c -d "@${stamp1}" {} + \
-o -newermt "@${stamp2}" -exec touch -c -d "@${stamp2}" {} + \)
Ulrich
|
|