SUPER SAIYAN@lemmy.world to memes@lemmy.world · edit-21 day agoI suck at naming anythinglemmy.worldimagemessage-square35fedilinkarrow-up1250arrow-down120
arrow-up1230arrow-down1imageI suck at naming anythinglemmy.worldSUPER SAIYAN@lemmy.world to memes@lemmy.world · edit-21 day agomessage-square35fedilink
minus-squarepotoooooooo ☑️@lemmy.worldlinkfedilinkEnglisharrow-up17·1 day agoOn Windows, I’ve had good luck with the search tool Everything.
minus-squareMonkderVierte@lemmy.ziplinkfedilinkarrow-up1·edit-214 hours ago$ time fd -t f locate /usr /usr/bin/fallocate /usr/include/clang/AST/ASTContextAllocate.h /usr/include/qt6/QtQmlCompiler/6.10.0/QtQmlCompiler/private/qresourcerelocater_p.h /usr/include/qt6/QtQml/6.10.0/QtQml/private/qlazilyallocated_p.h /usr/share/doc/libdc1394/html/structfw__cdev__allocate.html ... /usr/share/xml/docbook/xsl-stylesheets-1.79.2-nons/params/htmlhelp.button.locate.xml /usr/lib/ruby/gems/3.4.0/doc/racc-1.8.1/ri/Racc/Grammar/compute_locate-i.ri /usr/lib/ruby/gems/3.4.0/doc/racc-1.8.1/ri/Racc/Sym/locate-i.ri real 0m0.209s user 0m0.283s sys 0m0.663s Cut by me, because of qr size limit. fd is from here. Disk is NVME on PCIe3.
minus-squareBeigeAgenda@lemmy.calinkfedilinkarrow-up5·edit-21 day agoOr like me obliviously spending cycles trawling through everything. find dir/ -iname "*John*Cena*" or grep -rIi "John.*Cena" dir/
minus-squareMonkderVierte@lemmy.ziplinkfedilinkarrow-up1·14 hours ago obliviously spending cycles trawling through everything. Once vs. every time the db gets updated. Database for faster file searching is a HDD relict, imo.
minus-squareSlurpingPus@lemmy.worldlinkfedilinkarrow-up1·22 hours agoUse fd and ripgrep at least. It’s not the stone age.
minus-squareBeigeAgenda@lemmy.calinkfedilinkarrow-up1·19 hours agoI’m probably using them already if they are aliased to find and grep.
minus-squareSlurpingPus@lemmy.worldlinkfedilinkarrow-up3·15 hours agoBtw, while I’m here: you might also want to look into eza, fzf, bat, and maybe delta (or icdiff for side-by-side comparison). I’m pretty conservative regarding replacement for classic utils, but these are worth it.
minus-squareSlurpingPus@lemmy.worldlinkfedilinkarrow-up1·18 hours agoThey use different arguments, so unlikely. Though idk if there are wrappers or anything like that. They’re both easier to use and faster, so it’s worth making sure to switch.
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up3·1 day ago spending cycles trawling through everything Beats spending cycles indexing everything and never search them.
minus-squareqjkxbmwvz@startrek.websitelinkfedilinkarrow-up2·1 day 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-squareMeron35@lemmy.worldlinkfedilinkarrow-up1·23 hours agoplocate is much faster and requires less resources. macOS users should use mdfind instead
minus-squareiAmTheTot@sh.itjust.workslinkfedilinkarrow-up8·1 day agoEverything is a required tool for any Windows computer I interact with.
minus-squarepotoooooooo ☑️@lemmy.worldlinkfedilinkEnglisharrow-up3·1 day agoAnd Wiztree! I really do love that program.
minus-squarepulsewidth@lemmy.worldlinkfedilinkarrow-up2·15 hours agoWinDirStat imo is a better alternative - same functionality, much older and open source. Wiztree borrows a lot from WinDirStat’s interface.
minus-squareessell@lemmy.worldlinkfedilinkarrow-up1·1 day agoIncluding like little Spanners to fix it and big spanners to hit it?
minus-squareCarvex@lemmy.worldlinkfedilinkarrow-up3·1 day agoThanks that was helpful at the right moment!
minus-squarepotoooooooo ☑️@lemmy.worldlinkfedilinkEnglisharrow-up4·edit-21 day agoHappy I could help. It’s been everything Windows search is not. Additional pro-tip if anyone is still using WinDirStat, Spacemonger, etc.: WizTree is game-changing.
On Windows, I’ve had good luck with the search tool Everything.
And mlocate for Linux.
Cut by me, because of qr size limit. fd is from here. Disk is NVME on PCIe3.
Or like me obliviously spending cycles trawling through everything.
or
Once vs. every time the db gets updated. Database for faster file searching is a HDD relict, imo.
Use
fdand ripgrep at least. It’s not the stone age.I’m probably using them already if they are aliased to
findandgrep.Btw, while I’m here: you might also want to look into
eza,fzf,bat, and maybedelta(oricdifffor side-by-side comparison). I’m pretty conservative regarding replacement for classic utils, but these are worth it.They use different arguments, so unlikely. Though idk if there are wrappers or anything like that.
They’re both easier to use and faster, so it’s worth making sure to switch.
Beats spending cycles indexing everything and never search them.
I have this sort of thing aliased, with some added
--includeflags to filter file type (e.g., only match source/script files). Super useful!plocate is much faster and requires less resources. macOS users should use mdfind instead
Everything is a required tool for any Windows computer I interact with.
And Wiztree! I really do love that program.
WinDirStat imo is a better alternative - same functionality, much older and open source.
Wiztree borrows a lot from WinDirStat’s interface.
Including like little Spanners to fix it and big spanners to hit it?
Thanks that was helpful at the right moment!
Happy I could help. It’s been everything Windows search is not.
Additional pro-tip if anyone is still using WinDirStat, Spacemonger, etc.: WizTree is game-changing.