by yogsototh · 13y ago · 0 comments
for fic in **/*(.); do
doSomethingWith $fic
done
will take way more time than using find, but will work even with files with stranges chars. for fic (**/*(.)) doSomethingWith $fic
I find the fact that it fits in a single line makes me much more likely to use it in everyday shell use.. though I'd still revert to bash for scripting