4 ms·
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.
by chasil 5y ago
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.
- eMSF 5y agoAlso you can use readarray to store the found filenames in a bash array (to use with a for loop).