How to loop through filenames with spaces in Bash
find ~ -name '* *' | while read FILE
do
echo $FILE rocks.
done
Written by António Afonso
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Related Tags
#shell
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#