Skip to content
This repository has been archived by the owner on Jul 31, 2018. It is now read-only.

Block Directories? #2

Open
geraltofrivia opened this issue Jul 19, 2018 · 1 comment
Open

Block Directories? #2

geraltofrivia opened this issue Jul 19, 2018 · 1 comment

Comments

@geraltofrivia
Copy link

I'm not acquainted with the nuances of locate command, but I suspect that through some scripting magic, it might be possible to ignore certain directories (e.g. ~/.local/share/Trash, or `.pyc etc.

It might also be possible to include a textbox to do this right in the settings screen.

I think that might make the experience a lot more pleasant.
Thanks

@compilelife
Copy link
Owner

You're 50% right about ignore magic.
Instread passing argument to 'locate', you should try dig into 'updatedb' which feed database to 'locate'.
Please check 'man locate'.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants