[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Specialized disk directory tools



On 9/12/25 7:13 AM, Dan Purgert wrote:
On Sep 12, 2025, Richard Owlett wrote:
On 9/12/25 5:36 AM, Roger Price wrote:
On Fri, 12 Sep 2025, Richard Owlett wrote:

My current environment is Debian 12, MATE, Caja file manager.
SeaMonkey 2.53.21 is my browser.

While searching my disk for a one PDF I discovered I had:
   1. multiple copies of that file.
   2. copies of similarly named files I was preparing to download.

Do you have package plocate installed ?  It provides command locate which I find
very helpful for finding PDFś and other files.

Roger


It is not installed. It's homepage, https://plocate.sesse.net/ , gives just
enough information to prompt further investigation.

I was about to post that I had just found the "find" command when a web
search had led me to https://linuxhandbook.com/find-files-by-name/ which
prompted me to successfully try [ find -iname '*xyz*' ] which all files or
directories with "xyz" or "XYZ" in their name.

Is there a similar page demonstrating "plocate"?

'locate [PATTERN]'; it is, I believe case-sensitive.

Noting, of course, that the locate database is only updated once a day
or so (you can force it with "updatedb", but it can take a while).


Using that database is suggesting that for *my particular case* "find" may be more appropriate as I'm only interested in files and directories under /home/richard . It would be even better if hidden files and directories were ignored.




Reply to: