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