Settings

Theme

Ask HN: Why can't we still search local disk the way we search online?

4 points by strooper 6 years ago · 9 comments · 1 min read


I am looking for some old content which I know exists in a 2TB backup drive using a Windows 10 machine. Despite using a modern machine, it has taken over 25 minutes and still is looking for it. Searching a nvme SSD doesn't significantly reduce the search time either.

I am wondering why can't we search our local contents and get almost instantaneous (or reasonable) results the same way we get from online search engines. How are these latest machines any better than machines a decade ago in improving user experience (other than entangling settings and silly visual stunts)?

Is there any tool or setup that may provide significantly better search experience in local machines (windows or linux)?

raidicy 6 years ago

I have this app called Search Everything[0]. Allows you to search everything on your PC (I use Win10).

The other option is using cmd prompt:

DIR C:\myfile.txt /S

No idea how with PowerShell

[0]https://www.voidtools.com/

  • majkinetor 6 years ago

    Everything has CLI tool, es.exe, that you can use in shell.

    But yeah, there is nothing better then Everything, on any OS.

  • sharemywin 6 years ago

    findstr /spin /C:"class sample" *.cs

    you can use this to look in files on windows

a3n 6 years ago

When you search the web, the search engine has already indexed the web (and is doing so constantly). Your results come from hits in that index.

If you want fast results searching your large local disk, you need to periodically index your disk in the background.

I used such an indexer back around 2000. It was a Java program. I can't remember the name at all.

There are probably more such indexers today.

ChrisGranger 6 years ago

For Linux, the locate command from GNU Find Utilities is pretty fast if your index is up-to-date. I also really like fzf, the fuzzy-find tool.

https://github.com/junegunn/fzf

zapttt 6 years ago

1) becuase you don't how to use grep et al.

2) because you don't use open formats.

3) because you do have a minimally decent data organization and have to search too much data every time.

generalpass 6 years ago

> ...using a Windows 10 machine.

Case closed.

paulbishop 6 years ago

for files use everything for enterprise use M-Files ...Case closed

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection