I contemplate creating a small program that would scan the disk and analyze all folders and files, peering inside the files only if necessary – primarily focusing on their names, and using LLM to tag and briefly describe entire hierarchies, and more importantly, classify, and save the size of files in the hierarchy. It’s assumed that such a tool runs in the evening and the results are discovered in the morning, because naturally all this is slow. But in the morning, I receive a detailed, structured, relatively small comprehensive report on what needs to be backed up, what can probably be deleted (for instance, a clone of some repository from the public domain), sorted by impact (freeing up space, less clutter, etc.).
Of course, throwing tens of thousands of files at an LLM – is an unreasonable waste of tokens. An agency scheme is assumed – the system takes the top level, makes assumptions, checks them, looks at the time files were modified, checks if there have been changes since the creation of the entire hierarchy and asks the LLM very compactly, setting a percentage of confidence in the judgement about the necessity/unnecessity of any given folder. Then the user can manually check something, or ask to take a closer look at something else.
I wonder, would such a thing be useful to anyone else?
