On Wed, Feb 09, 2011 at 12:25:09AM -0700, Clint Pachl wrote:
In the caveats section it states the following:
Passing the output of find to other programs requires some care:
$ find . -name \*.jpg | xargs rm
or
$ rm `find . -name \*.jpg`
would,
Subtle; and what a caveat it is.
Thanks Paul and Otto for setting me straight.
Paul de Weerd wrote:
On Wed, Feb 09, 2011 at 12:25:09AM -0700, Clint Pachl wrote:
| In the caveats section it states the following:
|
|
| Passing the output of find to other programs requires some care:
|
|
Hi Otto,
Otto Moerbeek wrote on Wed, Feb 09, 2011 at 09:43:54AM +0100:
On Wed, Feb 09, 2011 at 12:25:09AM -0700, Clint Pachl wrote:
In the caveats section it states the following:
Passing the output of find to other programs requires some care:
$ find . -name \*.jpg |
In the caveats section it states the following:
Passing the output of find to other programs requires some care:
$ find . -name \*.jpg | xargs rm
or
$ rm `find . -name \*.jpg`
would, given files ``important .jpg'' and ``important'', remove
On Wed, Feb 09, 2011 at 12:25:09AM -0700, Clint Pachl wrote:
| In the caveats section it states the following:
|
|
| Passing the output of find to other programs requires some care:
|
|$ find . -name \*.jpg | xargs rm
| or
|$ rm `find . -name \*.jpg`
|
|
5 matches
Mail list logo