[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make {} always work even outside -exec
From: |
James Youngman |
Subject: |
Re: make {} always work even outside -exec |
Date: |
Tue, 10 Oct 2006 11:18:34 +0100 |
On 10/9/06, Dan Jacobson <address@hidden> wrote:
One has to do
$ find -type f -exec find {} ! -anewer {} \;
Unless I am mistaken, "find foo ! -anewer foo" always succeeds unless
foo is touched during the execution of find.
because you haven't opened up restrictions on the use of {} to non
-exec, -ok usages:
$ find -type f ! -anewer {}
or maybe
$ find -type f ! -anewerself
To be honest, I fail to see the utility of the functionality I think
you are describing. Perhaps you could explain more fully, or give a
more obviously useful example.
James.