Posted By

rowntreerob on 01/27/10


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


looping over file paths that contain spaces

 / Published in: Bash

spaces in filenames breaks for loops on 'find' results

  1. find . -print0 | while read -d $'\0' file; do echo "$file"; done

Report this snippet  

You need to login to post a comment.