| ▲ | wongarsu 4 hours ago | |
I frequently have cases where `ls **/*.png` fails because the argument list is too long. Just happened yesterday with an rm I wanted to run. Find works, but the syntax is arcane. Not bad, but unlike any other common cli tool, which makes it more difficult to remember if you haven't needed it in a while | ||
| ▲ | jimmaswell an hour ago | parent | next [-] | |
> Find works, but the syntax is arcane. fd is a lifesaver: https://github.com/sharkdp/fd | ||
| ▲ | Grimeton 32 minutes ago | parent | prev | next [-] | |
Newer finds have a -delete option. Dunno if that's standard or some GNU addition, but it's there. | ||
| ▲ | giov4 4 hours ago | parent | prev [-] | |
I agree and I usually ended-up combining find reliability with other commands to obtain what I needed without big issues or too much looping syntax effort. Regarding remembering the find syntax I think its being arcane is what it made for me more easy to remember :) I now have a unique brain area dedicated to remember only that. | ||