Re:I Didn’t Learn Unix by Reading All the Manpages
by nmz on Wednesday May 24, 2023 @10:54PM
(#36066589)
Find is the worst example given it breaks the do one thing and do it well motto of unix. (and you can do one thing and do it well), After discovering dmenu's stest and googles walk, most times I just need a { walk $PWD | stest -f | rg } and I'm done. Maybe you need more, in which case, instead of find, you should run stat with the output formatted to json/csv and then filter using your preferred csv method or jq.
[ Parent
| on HN ]
Re:I Didn’t Learn Unix by Reading All the Manpages
by wdkrnls on Thursday May 25, 2023 @06:07PM
(#36076932)
I had never heard of "walk". Is there some link to read more about it?
Re:I Didn’t Learn Unix by Reading All the Manpages
by wdkrnls on Thursday May 25, 2023 @06:36PM
(#36077283)
Found it: https://github.com/google/walk