Hey Linux community,
I’m struggling with a file management issue and hoping you can help. I have a large media collection spread across multiple external hard drives. Often, when I’m looking for a specific file, I can’t remember which drive it’s on.
I’m looking for a file indexing and search tool that meets the following requirements:
- Ability to scan multiple locations
- Option to exclude specific folders or subfolders from both scan and search
- File indexing for quicker searches
- Capability to search indexed files even when the original drive is disconnected
- Real-time updates as files change
Any recommendations for tools that meet most or all of these criteria? It would be a huge help in organizing and finding my media files.
Thanks in advance for any suggestions!
Sorry I have .world blocked so I didn’t see your reply until now (wish I could block instances without blocking instance replies, but whatever)
Yeah I amended my post earlier to recommend logging with a domain specific unmount script, but I don’t know why they want to do this.
Apparently I’m so good at trolling I troll people even when I’m not trying to troll. :<
If inotify works for you, that’s fine. I don’t have any experience with it, maybe I’ll look into it after this, if the usecase ever comes up.
Eh, regex (EREs) is good enough for 99% of usecases honestly. For the 1%, consider using an easier to parse file format.
They have umpty jillion terabytes of video on a shelf full of external HDD’s and they want to know what files are on which drives. In the old days we had racks full of mag tapes and had the same issue. It’s not something new.
For info about inotify, try web search.
For text search, you start needing real indexing once you’re over maybe a GB of text. Before that, you can live with grep or SQL tables or whatever.