LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NTFS Directories (https://www.linuxquestions.org/questions/linux-newbie-8/ntfs-directories-269559/)

canuck_barlow 12-23-2004 08:58 AM

NTFS Directories
 
Hi All,

I have an external hard drive that is hooked up via USB. Its the secondary drive I use for Win XP so its NTFS.

I can mount this drive no problem and see everything in it; however, when i try to navigate into the directorys in the shell, I can't get into the ones that have spaces because from my knowledge, Linux doesn't like them at all. I tried to replace the spaces with underscores but that didn't work either.

Is there a special character I need to use similar to %20 for urls?

masand 12-23-2004 09:11 AM

hi there
if u r using shell for browing then include spaces in \ \

for example like this

[root@gaurav downloaded]# ls
action.php documentation new project resume to be done written
[root@gaurav downloaded]# cd to\ \be\ \done
[root@gaurav to be done]#

regards

cs-cam 12-23-2004 05:01 PM

Or
Code:

# cd "to be done"
:)

Kristijan 12-23-2004 07:44 PM

You can always use tab completion to navigate folders :)

-Kristijan

whipermr5 12-23-2004 09:46 PM

Try it like this:
Code:

directory\ name/
In between directory\ and nmae/ is the space.


All times are GMT -5. The time now is 09:30 PM.