SUPER SAIYAN@lemmy.world to memes@lemmy.world · edit-29 hours agoI suck at naming anythinglemmy.worldimagemessage-square21fedilinkarrow-up1169arrow-down111
arrow-up1158arrow-down1imageI suck at naming anythinglemmy.worldSUPER SAIYAN@lemmy.world to memes@lemmy.world · edit-29 hours agomessage-square21fedilink
minus-squareMeron35@lemmy.worldlinkfedilinkarrow-up1·32 minutes agoplocate is much faster and requires less resources. macOS users should use mdfind instead
minus-squareBeigeAgenda@lemmy.calinkfedilinkarrow-up4·edit-28 hours agoOr like me obliviously spending cycles trawling through everything. find dir/ -iname "*John*Cena*" or grep -rIi "John.*Cena" dir/
minus-squareqjkxbmwvz@startrek.websitelinkfedilinkarrow-up2·6 hours ago grep -rIi “John.*Cena” dir/ I have this sort of thing aliased, with some added --include flags to filter file type (e.g., only match source/script files). Super useful!
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up2·7 hours ago spending cycles trawling through everything Beats spending cycles indexing everything and never search them.
And mlocate for Linux.
plocate is much faster and requires less resources. macOS users should use mdfind instead
Or like me obliviously spending cycles trawling through everything.
or
I have this sort of thing aliased, with some added
--includeflags to filter file type (e.g., only match source/script files). Super useful!Beats spending cycles indexing everything and never search them.