Y
Hacker News
new
|
ask
|
show
|
jobs
by
chasil
1673 days 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.
1 comments
eMSF
1673 days ago
Also you can use readarray to store the found filenames in a bash array (to use with a for loop).
link