4 ms·
I can never remember find's strange command line arguments, so I end up writing the easy replacement: find . |grep \\.txt The backslashes are not very intui
by joosters 11y ago
I can never remember find's strange command line arguments, so I end up writing the easy replacement:
find . |grep \\.txt
The backslashes are not very intuitive, but if you miss them out entirely, you'll still likely get good enough results.
- BozeWolf 11y agoHaha! Yes! +1 for this. I do exactly the same thing. Or even just grep txt. The find command just is sometthing i cant get into my muscle memory (despite using linux for more the 15 years)
- rat87 11y agofor files on disk (not external disk) older then a day you can run `locate` or `locate --regex` Its faster since it uses a path database(If you have root you can run sudo updatedb to update it beforehand)