I'm trying to process a bunch of subdirectories that have spaces in the name.
The following bash script is expanding $thisfile at the space, so the file command fails as it never gets the full path/filename
How can this be fixed.
does not expand $thisfile
find . -print | while read thisfile