From: Tony van der Hoff on
The find utility is one of the things I couldn't do without, but am
frustrated by the zillion "Permission Denied" messages when I search "/". Is
there any way of running find such that it silently ignores such errors?

Cheers, Tony

--
Tony van der Hoff | mailto:news_0711(a)vanderhoff.org
Buckinghamshire, England
From: Paul Black on
Tony van der Hoff wrote:
> The find utility is one of the things I couldn't do without, but am
> frustrated by the zillion "Permission Denied" messages when I search "/". Is
> there any way of running find such that it silently ignores such errors?

If you're using bash, you can try "find 2> /dev/null"

--
Paul
From: Tony van der Hoff on
On 3 Jan at 18:24 Paul Black <nospam(a)nospam.saturnine.org.uk> wrote in
message <477d2856$0$13934$fa0fcedb(a)news.zen.co.uk>

> Tony van der Hoff wrote:
> > The find utility is one of the things I couldn't do without, but am
> > frustrated by the zillion "Permission Denied" messages when I search
> > "/". Is there any way of running find such that it silently ignores such
> > errors?
>
> If you're using bash, you can try "find 2> /dev/null"
>
Yep, that does it! Thanks, Paul.

--
Tony van der Hoff | mailto:news_0711(a)vanderhoff.org
Buckinghamshire, England
From: Will Kemp on
On Thu, 03 Jan 2008 18:10:31 +0000, Tony van der Hoff wrote:

> The find utility is one of the things I couldn't do without, but am
> frustrated by the zillion "Permission Denied" messages when I search
> "/". Is there any way of running find such that it silently ignores such
> errors?

I use find now and then, for some purposes, but i use 'locate' perhaps 50
times as often. Are you using 'find' where you could use 'locate'?
From: Tony van der Hoff on
On 3 Jan at 19:24 Will Kemp <Will(a)xxxx.Swaggie.net> wrote in message
<3Eafj.33643$yZ4.10316(a)newsfe4-gui.ntli.net>

> On Thu, 03 Jan 2008 18:10:31 +0000, Tony van der Hoff wrote:
>
> > The find utility is one of the things I couldn't do without, but am
> > frustrated by the zillion "Permission Denied" messages when I search
> > "/". Is there any way of running find such that it silently ignores such
> > errors?
>
> I use find now and then, for some purposes, but i use 'locate' perhaps 50
> times as often. Are you using 'find' where you could use 'locate'?
>
I have a brain of limited capacity. Remembering "locate" means something
else will have to be dumped. But, yes, I guess you're right ....

Cheers, Tony


--
Tony van der Hoff | mailto:news_0711(a)vanderhoff.org
Buckinghamshire, England