irelephant [he/him]@lemmy.dbzer0.com to Asklemmy@lemmy.mlEnglish · 10 days agoWhat's the laziest thing you have done?message-squaremessage-square120linkfedilinkarrow-up1198arrow-down12file-text
arrow-up1196arrow-down1message-squareWhat's the laziest thing you have done?irelephant [he/him]@lemmy.dbzer0.com to Asklemmy@lemmy.mlEnglish · 10 days agomessage-square120linkfedilinkfile-text
minus-squareschipelblorp@sh.itjust.workslinkfedilinkarrow-up3·9 days agoThat would work for a single directory. Most file managers have a global search.
minus-squaredosse91@lemmy.trippy.pizzalinkfedilinkarrow-up2·9 days agoNo that would be just in the current folder, I needed to search recursively
minus-squareBuddahriffic@lemmy.worldlinkfedilinkarrow-up1·8 days agofind -name “*.txt” Iirc. Though it might want a regular expression instead of a wildcard.
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.