irelephant [he/him]@lemmy.dbzer0.com to Asklemmy@lemmy.mlEnglish · 14 days agoWhat's the laziest thing you have done?message-squaremessage-square120linkfedilinkarrow-up1197arrow-down12file-text
arrow-up1195arrow-down1message-squareWhat's the laziest thing you have done?irelephant [he/him]@lemmy.dbzer0.com to Asklemmy@lemmy.mlEnglish · 14 days agomessage-square120linkfedilinkfile-text
minus-squaredosse91@lemmy.trippy.pizzalinkfedilinkarrow-up7arrow-down3·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-up3·13 days agoThat would work for a single directory. Most file managers have a global search.
minus-squaredosse91@lemmy.trippy.pizzalinkfedilinkarrow-up2·12 days agoNo that would be just in the current folder, I needed to search recursively
minus-squareBuddahriffic@lemmy.worldlinkfedilinkarrow-up1·12 days agofind -name “*.txt” Iirc. Though it might want a regular expression instead of a wildcard.
minus-squareHexarei@beehaw.orglinkfedilinkarrow-up2·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
minus-squareHiddenLayer555@lemmy.mllinkfedilinkEnglisharrow-up2·13 days agoHow are you getting a local LLM to read files for you?
minus-squaredosse91@lemmy.trippy.pizzalinkfedilinkarrow-up3·12 days agoTake a look at pi.dev (or similar tools)
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
find -name “*.txt”
Iirc. Though it might want a regular expression instead of a wildcard.
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
How are you getting a local LLM to read files for you?
Take a look at pi.dev (or similar tools)