Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locating files on removable drives #24

Open
grimnight opened this issue Sep 5, 2020 · 2 comments
Open

Locating files on removable drives #24

grimnight opened this issue Sep 5, 2020 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@grimnight
Copy link

It would be useful to have support for indexing removable drives.
Possibly only searching folders that exist, leaving data about folders that do not exist intact.
Maybe creating separate datafiles for each folder.
Or some other solution that would make indexing removable drives possible.

I have been trying to find a solution for indexing removable drives,
but I have not been able to find anything.
Currently I have been using a custom script using ls and ripgrep, but it's not ideal.

After finding lolcate I think it might be a better solution,
although I would lose file size and creation date.

@stappersg
Copy link

FWIW The classic combo updatedb and locate support using other databases as the default database that has / indexed.

(Yes, having file size and creation date is indeed nice to have)

@ngirard ngirard added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Nov 23, 2020
@grimnight
Copy link
Author

Currently if one of the directories in dirs is missing lolcate gives a warning and doesn't do anything.

Would it be possible to add an option that would make it so that if one of the top level folders is missing ignore it and don't drop it from the database?

If such an option is possible it might be necessary to add stats flag to see when each folder was last updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants