I can't figure out how to write the path of a folder that includes spaces in its name (in Terminal).
I tried:
cd /path/path/path/"A Folder"/file
cd /path/path/path/'A Folder/file
cd /path/path/path/A_Folder/file
but they all return the error through the terminal:
[command]: cannot access '/path/path/path/A Folder/file' No such a file or directory
I can still access it through steps like so:
cd /home
cd user
cd Desktop
cd "Bash Programming"
bash Example
/path/path/A Folder
. Since the error message includes the full path (with space) it's unlikely to be an issue with the space - more likely you are making an error in the path itself. – steeldriver Sep 30 '14 at 13:40cd /path/path/path/"A Folder"/file
) should work. – glenn jackman Sep 30 '14 at 14:00