|
From: Tony van der Hoff on 3 Jan 2008 13:10 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 3 Jan 2008 13:24 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 3 Jan 2008 13:30 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 3 Jan 2008 14:24 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 3 Jan 2008 14:38
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 |