Re: [ubuntu-uk] find a file

2007-08-07 Thread Matthew Daubney
I've always used locate by doing: sudo updatedb locate *.ick This can cause problems though as it will trawl everyones files. updatedb sometimes takes a little while to run, but then locate is very quick afterwards. On 06/08/07, Jim Kissel [EMAIL PROTECTED] wrote: Neil Greenwood wrote: On

[ubuntu-uk] find a file

2007-08-06 Thread norman
Although I have used Ubuntu for quite some time I have never been sure how to go about finding named files. I am not a Linux person although, I can use a terminal if needed. For example I needed to find any files with .lck as the extension and remove them otherwise I would be unable to burn DVDs

Re: [ubuntu-uk] find a file

2007-08-06 Thread Josh Blacker
There are the two commands 'find' and 'locate' from the command line. One is slower because it literally trawls the system to find things, and the other works from a database that's updated every so often - so it can miss newer files. (I think find is the faster one, but I could be wrong) As far

Re: [ubuntu-uk] find a file

2007-08-06 Thread Farran Lee
is there a graphic front end to either of these? On Mon, 2007-08-06 at 10:50 +0100, Josh Blacker wrote: There are the two commands 'find' and 'locate' from the command line. One is slower because it literally trawls the system to find things, and the other works from a database that's updated

Re: [ubuntu-uk] find a file

2007-08-06 Thread Jim Kissel
Josh Blacker wrote: There are the two commands 'find' and 'locate' from the command line. One is slower because it literally trawls the system to find things, and the other works from a database that's updated every so often - so it can miss newer files. (I think find is the faster one, but

Re: [ubuntu-uk] find a file

2007-08-06 Thread Jim Kissel
Farran Lee wrote: is there a graphic front end to either of these? Yes, gnome-find http://gnome-find.sourceforge.net/ On Mon, 2007-08-06 at 10:50 +0100, Josh Blacker wrote: There are the two commands 'find' and 'locate' from the command line. One is slower because it literally trawls

Re: [ubuntu-uk] find a file

2007-08-06 Thread Matthew Wild
gnome-find can be installed with Synaptic, or by typing in the Terminal: sudo apt-get gnome-find On 8/6/07, Jim Kissel [EMAIL PROTECTED] wrote: Farran Lee wrote: is there a graphic front end to either of these? Yes, gnome-find http://gnome-find.sourceforge.net/ On Mon, 2007-08-06

Re: [ubuntu-uk] find a file

2007-08-06 Thread Farran Lee
aah... thanks - but that one keeps crashing on me! it dies when the results come up On Mon, 2007-08-06 at 11:36 +0100, Matthew Wild wrote: gnome-find can be installed with Synaptic, or by typing in the Terminal: sudo apt-get gnome-find On 8/6/07, Jim Kissel [EMAIL PROTECTED] wrote:

Re: [ubuntu-uk] find a file

2007-08-06 Thread Josh Blacker
You can use: find / -name *.lck but this will probably throw up a lot of useless stuff. I searched 'find / -name *.sla' and got: find: /lost+found: Permission denied find: /etc/ssl/private: Permission denied find: /etc/cups/ssl: Permission denied find: /var/lib/slocate: Permission denied find:

Re: [ubuntu-uk] find a file

2007-08-06 Thread Kirrus
) Europe/London Subject: Re: [ubuntu-uk] find a file You can use: find / -name *.lck but this will probably throw up a lot of useless stuff. I searched 'find / -name *.sla' and got: find: /lost+found: Permission denied find: /etc/ssl/private: Permission denied find: /etc/cups/ssl: Permission denied

Re: [ubuntu-uk] find a file

2007-08-06 Thread Matthew Wild
I do wish find didn't do that :) You can strip the error output by appending 2/dev/null to the end of the command. I don't know if there is another way... I never found it. On 8/6/07, Josh Blacker [EMAIL PROTECTED] wrote: You can use: find / -name *.lck but this will probably throw up a

Re: [ubuntu-uk] find a file

2007-08-06 Thread Jeronimo Garcia
-prune will work too. Cheers m88 On 8/6/07, Matthew Wild [EMAIL PROTECTED] wrote: I do wish find didn't do that :) You can strip the error output by appending 2/dev/null to the end of the command. I don't know if there is another way... I never found it. On 8/6/07, Josh Blacker [EMAIL

Re: [ubuntu-uk] find a file

2007-08-06 Thread Matthew Wild
@lists.ubuntu.com Sent: 06 August 2007 12:07:13 o'clock (GMT) Europe/London Subject: Re: [ubuntu-uk] find a file You can use: find / -name *.lck but this will probably throw up a lot of useless stuff. I searched 'find / -name *.sla' and got: find: /lost+found: Permission denied find: /etc

Re: [ubuntu-uk] find a file

2007-08-06 Thread Jim Kissel
norman wrote: snip Josh Blacker wrote: There are the two commands 'find' and 'locate' from the command line. One is slower because it literally trawls the system to find things, and the other works from a database that's updated every so often - so it can miss newer files. (I think find

Re: [ubuntu-uk] find a file

2007-08-06 Thread Neil Greenwood
On 06/08/07, Jim Kissel [EMAIL PROTECTED] wrote: find /your/path/to/a/directory -name '*.lck' -print Find trawls the files system but appears to cache when re-run with a short (hours) time. I've ever used locate. It has a db where it 'locates' files. BTY, if you are using find on

Re: [ubuntu-uk] find a file

2007-08-06 Thread Neil Greenwood
On 06/08/07, norman [EMAIL PROTECTED] wrote: Thanks to all who have had a go at answering my question. However, am I to understand that I need to know where I might find the file I am seeking before I go looking? If that is the case then it defeats what I thought was the idea. What I was

Re: [ubuntu-uk] find a file

2007-08-06 Thread Jim Kissel
Neil Greenwood wrote: On 06/08/07, Jim Kissel [EMAIL PROTECTED] wrote: find /your/path/to/a/directory -name '*.lck' -print Find trawls the files system but appears to cache when re-run with a short (hours) time. I've ever used locate. It has a db where it 'locates' files. BTY, if you