Re: locate question

2023-11-08 Thread Greg Wooledge
On Wed, Nov 08, 2023 at 05:16:26PM +0100, to...@tuxteam.de wrote: > On Wed, Nov 08, 2023 at 11:45:30AM -0400, Roy J. Tellason, Sr. wrote: > > On Tuesday 07 November 2023 11:32:21 am gene heskett wrote: > > > so locate isn't working as I think it should. > > > try find but it finds the whole my whol

Re: locate question

2023-11-08 Thread tomas
On Wed, Nov 08, 2023 at 11:45:30AM -0400, Roy J. Tellason, Sr. wrote: > On Tuesday 07 November 2023 11:32:21 am gene heskett wrote: > > so locate isn't working as I think it should. > > try find but it finds the whole my whole local net: > > gene@coyote:~$ find .scad .  |wc -l > > find: ‘.scad’: No

Re: locate question

2023-11-08 Thread Roy J. Tellason, Sr.
On Tuesday 07 November 2023 11:32:21 am gene heskett wrote: > so locate isn't working as I think it should. > try find but it finds the whole my whole local net: > gene@coyote:~$ find .scad .  |wc -l > find: ‘.scad’: No such file or directory Try putting a * before the period in that find command?

Re: locate question

2023-11-08 Thread Jörg-Volker Peetz
If you just want to see files in /home/gene try locate -r 'home/gene/.*\.scad' In that way, regex syntax can be used to narrow down the search. Regards, Jörg.

Re: locate question

2023-11-07 Thread gene heskett
On 11/7/23 14:38, to...@tuxteam.de wrote: On Tue, Nov 07, 2023 at 11:32:21AM -0500, gene heskett wrote: Greetings all; [...] gene@coyote:~$ locate *.scad /home/gene/vac_ctrl_box.scad /home/gene/xhome_cable.scad Markus and The Wanderer were spot on. As a reminder to all: this "naked" *.sca

Re: locate question

2023-11-07 Thread gene heskett
On 11/7/23 14:24, mick.crane wrote: On 2023-11-07 16:32, gene heskett wrote: Greetings all; I dunno if I've forgot how to use it, or it broken by the same bug that killing me with the lagging access to my home raid10. Fact: there are probably over 100 files in my /home/gene directory and all it

Re: locate question

2023-11-07 Thread gene heskett
On 11/7/23 11:52, Markus Schönhaber wrote: Am 07.11.23 um 17:32 schrieb gene heskett: Greetings all; I dunno if I've forgot how to use it, or it broken by the same bug that killing me with the lagging access to my home raid10. Fact: there are probably over 100 files in my /home/gene directory

Re: locate question

2023-11-07 Thread Greg Wooledge
On Tue, Nov 07, 2023 at 08:38:51PM +0100, to...@tuxteam.de wrote: > On Tue, Nov 07, 2023 at 11:32:21AM -0500, gene heskett wrote: > > gene@coyote:~$ locate *.scad > > /home/gene/vac_ctrl_box.scad > > /home/gene/xhome_cable.scad > > Markus and The Wanderer were spot on. > > As a reminder to all: t

Re: locate question

2023-11-07 Thread tomas
On Tue, Nov 07, 2023 at 11:32:21AM -0500, gene heskett wrote: > Greetings all; [...] > gene@coyote:~$ locate *.scad > /home/gene/vac_ctrl_box.scad > /home/gene/xhome_cable.scad Markus and The Wanderer were spot on. As a reminder to all: this "naked" *.scad gets already expanded by the shell (tr

Re: locate question

2023-11-07 Thread mick.crane
On 2023-11-07 16:32, gene heskett wrote: Greetings all; I dunno if I've forgot how to use it, or it broken by the same bug that killing me with the lagging access to my home raid10. Fact: there are probably over 100 files in my /home/gene directory and all its subs with assorted names ending in

Re: locate question

2023-11-07 Thread The Wanderer
On 2023-11-07 at 11:32, gene heskett wrote: > Greetings all; > I dunno if I've forgot how to use it, or it broken by the same bug that > killing me with the lagging access to my home raid10. > > Fact: there are probably over 100 files in my /home/gene directory and > all its subs with assorted

Re: locate question

2023-11-07 Thread Markus Schönhaber
Am 07.11.23 um 17:32 schrieb gene heskett: > Greetings all; > I dunno if I've forgot how to use it, or it broken by the same bug that > killing me with the lagging access to my home raid10. > > Fact: there are probably over 100 files in my /home/gene directory and > all its subs with assorted nam

Re: locate question

2023-11-07 Thread Pocket
On 11/7/23 11:32, gene heskett wrote: Greetings all; I dunno if I've forgot how to use it, or it broken by the same bug that killing me with the lagging access to my home raid10. Fact: there are probably over 100 files in my /home/gene directory and all its subs with assorted names ending i

Re: dangling symlinks [ was: Re: "locate" easier to use than "find"]

2023-08-27 Thread tomas
On Sun, Aug 27, 2023 at 02:17:06PM -0400, Jeffrey Walton wrote: [...] > The symlink tool works great, too: > > symlink -r / | grep dangling > > You can also delete them, once you verify they are dangling: > > symlink -r -d / > > In fact, it is a recommended post-upgrade step for Fedor

Re: dangling symlinks [ was: Re: "locate" easier to use than "find"]

2023-08-27 Thread Jeffrey Walton
On Sun, Aug 27, 2023 at 1:10 PM Jörg-Volker Peetz wrote: > > to...@tuxteam.de wrote on 24/08/2023 14:00: > > > > A couple of days ago I was searching for dangling symlinks. > > > >find . -follow -lname "*" > > > How about > find -L . -type l The symlink tool works great, too: symlink

Re: dangling symlinks [ was: Re: "locate" easier to use than "find"]

2023-08-27 Thread tomas
On Sun, Aug 27, 2023 at 07:09:36PM +0200, Jörg-Volker Peetz wrote: > to...@tuxteam.de wrote on 24/08/2023 14:00: > > > > A couple of days ago I was searching for dangling symlinks. > > > >find . -follow -lname "*" > > > How about >find -L . -type l Should work, too. Cheers -- t sign

dangling symlinks [ was: Re: "locate" easier to use than "find"]

2023-08-27 Thread Jörg-Volker Peetz
to...@tuxteam.de wrote on 24/08/2023 14:00: A couple of days ago I was searching for dangling symlinks. find . -follow -lname "*" How about find -L . -type l Regards, Jörg.

Re: "locate" easier to use than "find"

2023-08-24 Thread Greg Wooledge
> > to...@tuxteam.de (12023-08-24): > > > Dunno. I use find nearly every day. Seeing it as "just a recursive > > > grep" doesn't cover a fraction of its usefulness. > > > > > > A couple of days ago I was searching for dangling symlinks. > > > > > > find . -follow -lname "*" Wow... what a cryptic

Re: "locate" easier to use than "find"

2023-08-24 Thread Nicolas George
Stanislav Vlasov (12023-08-24): > Sometimes it's unexpected :-) Then the shell prints an error and I try again. Still less time wasted than these two mails. Regards, -- Nicolas George

Re: "locate" easier to use than "find"

2023-08-24 Thread Stanislav Vlasov
чт, 24 авг. 2023 г. в 18:17, Nicolas George : > > With a really large amount of files there will be overflow of process > > environment (or too large cmdline). > If I expect a very large amount of files, I can use it another way. Sometimes it's unexpected :-) -- Stanislav

Re: "locate" easier to use than "find"

2023-08-24 Thread tomas
On Thu, Aug 24, 2023 at 02:05:48PM +0200, Nicolas George wrote: > to...@tuxteam.de (12023-08-24): > > Dunno. I use find nearly every day. Seeing it as "just a recursive > > grep" doesn't cover a fraction of its usefulness. > > > > A couple of days ago I was searching for dangling symlinks. > > >

Re: "locate" easier to use than "find"

2023-08-24 Thread Nicolas George
Stanislav Vlasov (12023-08-24): > With a really large amount of files there will be overflow of process > environment (or too large cmdline). If I expect a very large amount of files, I can use it another way. -- Nicolas George

Re: "locate" easier to use than "find"

2023-08-24 Thread Stanislav Vlasov
чт, 24 авг. 2023 г. в 17:06, Nicolas George : > > to...@tuxteam.de (12023-08-24): > > Dunno. I use find nearly every day. Seeing it as "just a recursive > > grep" doesn't cover a fraction of its usefulness. > > > > A couple of days ago I was searching for dangling symlinks. > > > > find . -follow

Re: "locate" easier to use than "find"

2023-08-24 Thread Nicolas George
to...@tuxteam.de (12023-08-24): > Dunno. I use find nearly every day. Seeing it as "just a recursive > grep" doesn't cover a fraction of its usefulness. > > A couple of days ago I was searching for dangling symlinks. > > find . -follow -lname "*" ls **/*(N@-@) Zsh rulz. Regards, -- Nicol

Re: "locate" easier to use than "find"

2023-08-24 Thread tomas
On Thu, Aug 24, 2023 at 01:52:28PM +0200, Oliver Schoede wrote: [...] > Have basically stopped using traditional 'find' outside of scripts, as > always thought I was about the last one [...] Dunno. I use find nearly every day. Seeing it as "just a recursive grep" doesn't cover a fraction of its

Re: "locate" easier to use than "find"

2023-08-24 Thread Oliver Schoede
On Mon, 21 Aug 2023 15:56:11 +0200 wrote: >On Mon, Aug 21, 2023 at 03:19:19PM +0200, Roger Price wrote: >> On Mon, 21 Aug 2023, Hans wrote: >> >> > find .mozilla -name favicons.sqlite -ls >> >  1512492   2144 -rw-r--r--   1 myusername myusernama  2195456 Aug >> > 21 13:29 .mozilla/firefox/gs0gkg

Re: "locate" easier to use than "find"

2023-08-21 Thread tomas
On Mon, Aug 21, 2023 at 06:45:16PM +0100, Brian wrote: [...] > plocate-updatedb.service and plocate-updatedb.timer take care of > that for me. :) I admit to accepting some help from trusty cron :) > > Tools, jobs and that :) > > Indeed. Cheers -- t signature.asc Description: PGP signature

Re: "locate" easier to use than "find"

2023-08-21 Thread mick.crane
On 2023-08-21 17:21, to...@tuxteam.de wrote: On Mon, Aug 21, 2023 at 02:50:07PM +, Michael Kjörling wrote: On 21 Aug 2023 15:56 +0200, from to...@tuxteam.de: >> For me command "locate" is easier to use than "find": > > They do different things. Locate is much faster, but it only looks > into

Re: "locate" easier to use than "find"

2023-08-21 Thread tomas
On Mon, Aug 21, 2023 at 02:50:07PM +, Michael Kjörling wrote: > On 21 Aug 2023 15:56 +0200, from to...@tuxteam.de: > >> For me command "locate" is easier to use than "find": > > > > They do different things. Locate is much faster, but it only looks > > into file names. Find can do nearly every

Re: "locate" easier to use than "find"

2023-08-21 Thread Michael Kjörling
On 21 Aug 2023 15:56 +0200, from to...@tuxteam.de: >> For me command "locate" is easier to use than "find": > > They do different things. Locate is much faster, but it only looks > into file names. Find can do nearly everything, like looking into > file metadata ("show me all files younger than 12

Re: "locate" easier to use than "find"

2023-08-21 Thread tomas
On Mon, Aug 21, 2023 at 03:19:19PM +0200, Roger Price wrote: > On Mon, 21 Aug 2023, Hans wrote: > > > find .mozilla -name favicons.sqlite -ls > >  1512492   2144 -rw-r--r--   1 myusername myusernama  2195456 Aug 21 13:29 > > .mozilla/firefox/gs0gkgv2.default/favicons.sqlite > >  1515049    260 -r

Re: locate something not exist

2011-04-28 Thread Huang, Tao
off-topic: mlocate have some advantages over locate. it does a partial scan on modified files only, which makes it's updatedb much faster and disk friendly. u may already be using it if u have it installed, since mlocate has a higher score in the update-alternatives system than the original locat

Re: locate something not exist

2011-04-27 Thread Liam O'Toole
On 2011-04-28, teddi...@tmo.blackberry.net wrote: > > I believe you need to run > > #updatedb > > If I am not mistaken (updatedb may work for different search command if > memory is faulty) > > But if I'm not mistaken, updatedb will refresh the database locate uses to > find results... > If yo

Re: locate something not exist

2011-04-27 Thread teddieeb
Your welcome, glad I was actually able to help somebody ;P TeddyB -Original Message- From: lina Date: Thu, 28 Apr 2011 13:09:32 To: Cc: Debian Lists Subject: Re: locate something not exist Thanks, it works, On Thu, Apr 28, 2011 at 1:06 PM, wrote: > > I believe you need

Re: locate something not exist

2011-04-27 Thread lina
Thanks, it works, On Thu, Apr 28, 2011 at 1:06 PM, wrote: > > I believe you need to run > > #updatedb > > If I am not mistaken (updatedb may work for different search command if > memory is faulty) > > But if I'm not mistaken, updatedb will refresh the database locate uses to > find results.

Re: locate something not exist

2011-04-27 Thread teddieeb
I believe you need to run #updatedb If I am not mistaken (updatedb may work for different search command if memory is faulty) But if I'm not mistaken, updatedb will refresh the database locate uses to find results... TeddyB -Original Message- From: lina Date: Thu, 28 Apr 2011 12:5

Re: Locate older debian packages

2010-07-19 Thread Klistvud
Dne, 19. 07. 2010 08:29:58 je Panayiotis Karabassis napisal(a): I need to downgrade a package due to a bug. However the older package version is no longer available from apt. Is there a way to find the older .deb? If it is of any importance I am searching for the eclipse version prior to 3.5

Re: Locate older debian packages

2010-07-18 Thread Panayiotis Karabassis
Thank you both. And the bug is already reported. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c43f432.6000...@gmail.com

Re: Locate older debian packages

2010-07-18 Thread Panayiotis Karabassis
Thank you both. And the bug is already reported. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c43f436.4010...@gmail.com

Re: Locate older debian packages

2010-07-18 Thread Ansgar Burchardt
Hi, Panayiotis Karabassis writes: > I need to downgrade a package due to a bug. However the older package > version is no longer available from apt. Is there a way to find the > older .deb? If it is of any importance I am searching for the eclipse > version prior to 3.5.2-5. Try snapshot.debian

Re: Locate older debian packages

2010-07-18 Thread Camaleón
On Mon, 19 Jul 2010 09:29:58 +0300, Panayiotis Karabassis wrote: > I need to downgrade a package due to a bug. However the older package > version is no longer available from apt. Is there a way to find the > older .deb? If it is of any importance I am searching for the eclipse > version prior to

Re: locate/updatedb on crack

2000-06-07 Thread Pat Mahoney
> > now with "gimpinitl.h." > > gimpintl.h != gimpinit.h > > > The other found gimp.h, which is in the same dir as gimpinit.h. But > > it still can't locate gimpinitl.h. Well, that's embarassing. Stupid typos... Maybe I'm dyslexic (is that spelled right?, ispell flags it, no suggestions thoug

Re: locate warning . . . ?

2000-03-30 Thread kmself
On Tue, Mar 28, 2000 at 10:44:12PM -0800, kmself@ix.netcom.com wrote: > On Tue, Mar 28, 2000 at 02:01:05PM +0200, Joachim Trinkwitz wrote: > > kmself@ix.netcom.com writes: > > > > > There have been several reports of similar problems, most of which > > > appear to be associated with anacron, an oc

Re: locate warning . . . ?

2000-03-29 Thread kmself
On Tue, Mar 28, 2000 at 02:01:05PM +0200, Joachim Trinkwitz wrote: > kmself@ix.netcom.com writes: > > > There have been several reports of similar problems, most of which > > appear to be associated with anacron, an occasional jobs schedular > > similar to cron. > > > > I had the problem myself o

Re: locate warning . . . ?

2000-03-28 Thread Joachim Trinkwitz
kmself@ix.netcom.com writes: > There have been several reports of similar problems, most of which > appear to be associated with anacron, an occasional jobs schedular > similar to cron. > > I had the problem myself on two boxes. Apparently one or more of the > scripts in /etc/cron.daily was bugg

Re: locate warning . . . ?

2000-03-28 Thread Kevin Dalley
Which version of findutils do you have installed? findutils-4.1-40 is the preferred version. If you are using certain older versions, updatedb will not run on a daily basis. Usually, /etc/cron.daily/find is run every day, which updates locatedb. Bryan Walton <[EMAIL PROTECTED]> writes: > Greet

Re: locate warning . . . ?

2000-03-28 Thread Steve Mayer
Bryan, The error means that updatedb has not been run through your cron scripts as it should have. su to the root account and try running /etc/cron.daily/find and see if you get any errors. Steve Bryan Walton wrote: > > Greetings, > Today, I have noticed that when I do a locate on so

Re: locate warning . . . ?

2000-03-28 Thread kmself
There have been several reports of similar problems, most of which appear to be associated with anacron, an occasional jobs schedular similar to cron. I had the problem myself on two boxes. Apparently one or more of the scripts in /etc/cron.daily was bugging out when run under anacron -- though I

Re: locate warning . . . ?

2000-03-28 Thread Wayne Topa
Subject: locate warning . . . ? Date: Mon, Mar 27, 2000 at 03:10:35PM -0600 In reply to:Bryan Walton Quoting Bryan Walton([EMAIL PROTECTED]): >| Greetings, >| Today, I have noticed that when I do a locate on something, I get >| a warning message that locatedb is more than 8

Re: locate warning . . . ?

2000-03-28 Thread Joe Bouchard
On Mon, Mar 27, 2000 at 03:10:35PM -0600, Bryan Walton wrote: > Greetings, > Today, I have noticed that when I do a locate on something, I get > a warning message that locatedb is more than 8 days old. See the example: > Any ideas about what this means? The program "updatedb" needs to run r

Re: locate warning . . . ?

2000-03-28 Thread Bart Friederichs
> locate: warning: database `/var/lib/locate/locatedb' is more than 8 days > old > Any ideas about what this means? It means what it says, the database is more than 8 days old. When you do 'updatedb' it indexes your filesystems and puts that info in /var/lib/locate/locatedb' to speed up the search.

Re: Locate question

2000-01-28 Thread Kevin Dalley
Yes, there was a bad NMU to findutils just before the freeze. 4.1-37 fixes this problem. John Bagdanoff <[EMAIL PROTECTED]> writes: > I've noticed this the last few days with both slink to potato upgrade and a > fresh > potato install on another drive. The problem looks like the latest finduti

Re: Locate question

2000-01-25 Thread John Bagdanoff
I've noticed this the last few days with both slink to potato upgrade and a fresh potato install on another drive. The problem looks like the latest findutils package. I downgraded to the slink findutils which fixed the problem. John Svante Signell wrote: > Hello, > > Sometime during updates

Re: Locate question

2000-01-24 Thread Paul J. Keenan
On Mon, Jan 24, 2000 at 10:13:42PM +0100, Svante Signell wrote: > Hello, > > Sometime during updates from slink to potato the locate database is > not updated any longer. Anacron is running after a reboot, but the > updatedb does not locate recent files. Can somebody enlightenment me > how things

Re: locate

1998-02-06 Thread Martin Bialasinski
herbert betz <[EMAIL PROTECTED]> writes: > as a linux newbie I don't know how to fix a problem I have using LOCATE. > It worked allright, when I installed it, but after a while UPDATEDB and > LOCATE didn't seem to do anything, when I invoked them (except giving back > the prompt without any messag

Re: Locate

1997-03-15 Thread Kevin Dalley
Pete Poff <[EMAIL PROTECTED]> writes: > > Hi, > when I use locate I get an error. This is what I get if I type > like locate . Like locate new.stuff. I get locate: > /var/lib/locate/locatedb: No suck file or directory. Can anyone tell me > why? Another possibility is that you are us

Re: Locate

1997-03-09 Thread John Ireland
> > when I use locate I get an error. This is what I get if I type > > like locate . Like locate new.stuff. I get locate: > > /var/lib/locate/locatedb: No suck file or directory. Can anyone tell me > > why? And is there a command to see how much disk space I have left? > > > > Thanks,

Re: Locate

1997-03-09 Thread Giuliano Procida
Rob Browning <[EMAIL PROTECTED]> wrote: > Pete Poff <[EMAIL PROTECTED]> writes: > > > when I use locate I get an error. This is what I get if I type > > like locate . Like locate new.stuff. I get locate: > > /var/lib/locate/locatedb: No suck file or directory. Can anyone tell me > > why

Re: Locate

1997-03-09 Thread Rob Browning
Pete Poff <[EMAIL PROTECTED]> writes: > when I use locate I get an error. This is what I get if I type > like locate . Like locate new.stuff. I get locate: > /var/lib/locate/locatedb: No suck file or directory. Can anyone tell me > why? And is there a command to see how much disk spa

Re: Locate

1997-03-08 Thread David Puryear
Hi, On 08-Mar-97 Heikki Vatiainen wrote: >If you check /etc/crontab you'll notice that there's a line that does >something like 'run-parts /etc/cron.daily'. /etc/cron.daily has among others a >file called 'find' that includes the commands to update the locatedb. > >Like the name implies, files

Re: Locate

1997-03-08 Thread Heikki Vatiainen
If you check /etc/crontab you'll notice that there's a line that does something like 'run-parts /etc/cron.daily'. /etc/cron.daily has among others a file called 'find' that includes the commands to update the locatedb. Like the name implies, files in /etc/cron.daily are run once a day, in my cas

Re: Locate

1997-03-08 Thread Thought
Try running updatedb to fix your locate problem df will tell you about your disk space On Fri, 7 Mar 1997, Pete Poff wrote: > Hi, > when I use locate I get an error. This is what I get if I type > like locate . Like locate new.stuff. I get locate: > /var/lib/locate/locatedb: No suck f

Re: Locate

1997-03-08 Thread System Account
On Fri, 7 Mar 1997, Pete Poff wrote: > Hi, > when I use locate I get an error. This is what I get if I type > like locate . Like locate new.stuff. I get locate: > /var/lib/locate/locatedb: No suck file or directory. Can anyone tell me > why? And is there a command to see how much dis