- Fast search under Linux is needed because Everything is not available for Linux
-
plocate
by default doesn't show clickable links, so OSC 8 is used to show clickable links (if the terminal emulator supports it) - Change
parent_directory
to the root folder where your search should start (e.g./home
) - The search is not case-sensitive. Can be changed but removing
-i
fromlocate -i
- Create a cronjob to run
updatedb -U /path/to/parent_directory
(consider sudo) every$n$ minutes. For example:* * * * * updatedb -U /parent_directory >/dev/null 2>&1
for updating every minute.
- Create a file
jj
in/usr/local/bin
and fill it with the content of the file in this repository. /usr/local/bin
is by default in path and you can start your search from your terminal byjj search_pattern