122 points · by laktak · 2y ago · 17 comments
Also I never liked find's option syntax. I think most people already know SQL (or at least it's easier to learn) and a much better match for this task.
fselect still takes the SQL analogy a bit too far for my taste, still cool though :)
Oh and fselect doesn't do tar.
EDIT: seems to be a similar issue with fselect: https://github.com/jhspetersson/fselect/issues/150
zfind —-csv size gt 20k and name = foozfind -w 'size>20k and name="foo"'
I could consider having the first arg reserved for -w
zfind 'size>20k and name="foo"'
but I much prefer the quotes and being allowed to write > instead of gt.
I used gt as bare word but doesn't preclude having escaped or quoted symbols as well, e.g.:
size \> 20k
'size > 20k'What, no.
I will easily type out `find` invocations dozens/hundreds of time per workday over years and the fact that it requires the path as the first argument and won't accept it as last _still_ trips me up and is my one major gripe.
i make lots of custom bash file editing and this is gonna help mein the futuré