I would like to index my entire disk for quick search. I tried Tracker, but it doesn't let me add "/" as a recursively indexed directory. How can I do this?
migrated from stackoverflow.com Jan 11 '11 at 18:59
This question came from our site for professional and enthusiast programmers.
However, another option is to simply use
Later on, you can look for files with
Although this looks pretty lame, it actually tends to be fast in practice, even when you have a lot of files.
Of course, that hardly does anything better than
Taking it further, you may want to hash all the files on your hard drive:
This will probably take a long time.
What it does for you is it gives you a way to locate identical files. Say you find a huge
You have a feeling that the same file exists somewhere else on your hard drive, and you want to delete one of them to save space. You can grep through the list of hashes to find it:
It should already be indexed regularly with scheduled executions of
Note: I'm talking about file names only.