How can I cd into a dir, when it contains spaces, and I need to use it in a script?<br><br>the directory:<br>/home/user/this is a folder/something<br>
<br>
normally I would use:<br>cd /home/user/this\ is\ a\ folder/something/<br>
<br>
but in a script I cant just add the "\"<br>
like:<br>
<br>
find . -type d | while read FOLDER; do cd $FOLDER; done<br>
$ No such file or directory<br>
<br>
the problem is, that there would be more "special chars" then spaces, "sed" them all? :D<br>
<br>
Thank you<br>