Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #176551

Re: Failure searching forfile known to exist

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: Failure searching forfile known to exist
Date 2017-01-10 14:40 +0100
Message-ID <sY4OD-1Tf-65@gated-at.bofh.it> (permalink)
References <sXBCW-wl-37@gated-at.bofh.it> <sXIXM-5gj-17@gated-at.bofh.it> <sXKdb-5VJ-7@gated-at.bofh.it> <sXRRn-26v-19@gated-at.bofh.it> <sY4EW-1Px-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jan 10, 2017 at 07:26:59AM -0600, Richard Owlett wrote:

[...]

> I said I had "a command line outlook", not that I was strongly
> anti-GUI.
> See, no " <dons flame-proof armour> required ;/
> Seriously though, I think the default action of Mate's "Find" menu
> option should have  been that of "locate" or "find".
> In this case "find" was more useful. There was a directory with
> improper permissions set. "locate" ignored it but "find" reported
> that it could not be searched.

To assess a tool you gotta understand how it works :)

Find recursively traverses current directory structure. Hence
its advantages:

 - precise (i.e. based on current status, not on some past
   indexing run)
 - comprehensive (nearly everything about files is queryable)

and its disadvantages

 - excruciatingly slow on big file systems

Locate queries a database of file paths which is refreshed
at some regular intervals (if you hear your computer's tummy
rumoring and catch a glimpse of "updatedb" in the process
list: this is it). Hence its advantages:

 - blazingly fast

and its disadvantages

 - deferred (last updatedb)
 - only knows about file paths

I tend to use both (sometimes even combined).

Regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlh045IACgkQBcgs9XrR2kbpMwCeM1Y7fk5+pKXM/GMrBgBI3XSc
lNoAnjq63dni1qEUMPSoEUESqsXvDT1Q
=ZcrJ
-----END PGP SIGNATURE-----

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Failure searching forfile known to exist Richard Owlett <rowlett@cloud85.net> - 2017-01-09 07:30 +0100
  Re: Failure searching forfile known to exist David Wright <deblis@lionunicorn.co.uk> - 2017-01-09 15:20 +0100
    Re: Failure searching for file known to exist Richard Owlett <rowlett@cloud85.net> - 2017-01-09 16:30 +0100
      Re: Failure searching for file known to exist David Wright <deblis@lionunicorn.co.uk> - 2017-01-09 23:00 +0100
  Re: Failure searching forfile known to exist Greg Wooledge <wooledg@eeg.ccf.org> - 2017-01-09 15:20 +0100
    Re: Failure searching forfile known to exist Richard Owlett <rowlett@cloud85.net> - 2017-01-09 16:40 +0100
      Re: Failure searching forfile known to exist Lisi Reisz <lisi.reisz@gmail.com> - 2017-01-10 00:50 +0100
        Re: Failure searching forfile known to exist Richard Owlett <rowlett@cloud85.net> - 2017-01-10 14:30 +0100
          Re: Failure searching forfile known to exist <tomas@tuxteam.de> - 2017-01-10 14:40 +0100

csiph-web