3 ms·
Find is one of those tools I use seldom enough that I completely forget how to use it, but is also complex enough that when I do need it I have to spend way too
by magicalhippo 2y ago
Find is one of those tools I use seldom enough that I completely forget how to use it, but is also complex enough that when I do need it I have to spend way too long studying the man page to figure out the right incantations.
In almost all cases I just want something simple, like finding a file somewhere on disk with based on a partial filename.
Now there are probably some nice, more modern tools made for this, but usually when I need it it's on some system where they're not present and I can't just install random stuff from the interwebs. So find it is...
- cowsandmilk 2y agoI feel like locate is commonly installed and is designed for what you describe.
- magicalhippo 2y agoOften yea, but updatedb requires root IIRC and I don't always have that. I just feel it would be nice if finding a file didn't feel like playing Tomb Raider.