LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   directory-names with spaces... (https://www.linuxquestions.org/questions/linux-newbie-8/directory-names-with-spaces-154580/)

Schmurff 03-07-2004 10:50 AM

directory-names with spaces...
 
Hello,

I am happy having found this forum. Some problems I had were solved in a nice manner.
Now I have a little problem with directories that were created by an application, for there are spaces in the directory-names.
Working in a terminal with these directories I found out that I cannot access these directories in a normal way.
Is there a method to overcome these spaces, for instance with an escape-character?
I'll give one example: /mp3/Groove Salad, how do I access that directory "Groove Salad"?
I know I could rename the dir in a file-browser, but the next time I should have to do that again, and again and again...

Thanks in advance for any help and with kind regards,

Schmurff :scratch:

itsjustme 03-07-2004 10:55 AM

Try putting it in quotes:

example:
cd mp3
cd 'Groove Salad'

Mega Man X 03-07-2004 11:06 AM

Don't forget the command line auto-completition. That's going to make you life much easier ;). It works like this:

cd mp3/Gro

then press "tab" key. It will complete the hole directory name for you. Use it often and you will navigate through your system faster then any gui like application :)

Regards!


All times are GMT -5. The time now is 04:03 AM.