194
What's the laziest thing you have done?
(lemmy.dbzer0.com)
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
Looking for support?
Looking for a community?
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
Using a state of the art local LLM and an agent to ask it to find all files with a certain extension, because I always forget how to use the find command on linux and I can't be bothered to read it.
ls *.txt?No that would be just in the current folder, I needed to search recursively
find -name "*.txt"
Iirc. Though it might want a regular expression instead of a wildcard.
That would work for a single directory.
Most file managers have a global search.
ls -R *.txt?How are you getting a local LLM to read files for you?
Take a look at pi.dev (or similar tools)
I did that kind of thing once, had Qwen-3.5-122B as a fancy find-and-replace because I couldn't be arsed to write a find and pipe it to sed