Hacker News new | past | comments | ask | show | jobs | submit login

The GNU way for handling files that have inconvenient characters in their names is:

    find ... -print0 | xargs -0 ...
It makes all the problems go away.



Also you can use readarray to store the found filenames in a bash array (to use with a for loop).




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: