irelephant [he/him]@lemmy.dbzer0.com to Asklemmy@lemmy.mlEnglish · 14 days agoWhat's the laziest thing you have done?message-squaremessage-square113linkfedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1message-squareWhat's the laziest thing you have done?irelephant [he/him]@lemmy.dbzer0.com to Asklemmy@lemmy.mlEnglish · 14 days agomessage-square113linkfedilinkfile-text
minus-squaredosse91@lemmy.trippy.pizzalinkfedilinkarrow-up0·13 days agoUsing 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.
minus-squareschipelblorp@sh.itjust.workslinkfedilinkarrow-up0·13 days agoThat would work for a single directory. Most file managers have a global search.
minus-squaredosse91@lemmy.trippy.pizzalinkfedilinkarrow-up0·12 days agoNo that would be just in the current folder, I needed to search recursively
minus-squareHiddenLayer555@lemmy.mllinkfedilinkEnglisharrow-up0·13 days agoHow are you getting a local LLM to read files for you?
minus-squaredosse91@lemmy.trippy.pizzalinkfedilinkarrow-up0·12 days agoTake a look at pi.dev (or similar tools)
minus-squareHexarei@beehaw.orglinkfedilinkarrow-up0·13 days agoI 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
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?That would work for a single directory.
Most file managers have a global search.
ls -R *.txt?No that would be just in the current folder, I needed to search recursively
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