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

Feature request : search file in index #277

Open
crile opened this issue Jun 16, 2021 · 3 comments
Open

Feature request : search file in index #277

crile opened this issue Jun 16, 2021 · 3 comments

Comments

@crile
Copy link

crile commented Jun 16, 2021

Hi,

Since the index already exist, instead of using locate or find, can you add a search command to find file or directory quickly from the index ?

The use case is

  • I identify a big file in the gui
  • I want to delete it however I don't know the path
  • rm -i $(duc search mybigfile.data)

Thanks

@l8gravely
Copy link
Collaborator

l8gravely commented Jun 16, 2021 via email

@clach04
Copy link

clach04 commented May 28, 2022

@crile alternative solution, build duc with sqlite3 storage and then you can use sqlite3 command line tool to query.

@l8gravely
Copy link
Collaborator

So I've just released v1.5.0-rc1 earlier this week, which has the feature of tracking the topN files in an index and reporting on them. Hopefully this will help meet some of your requirements.

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

No branches or pull requests

3 participants