Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-23-2004, 08:58 AM   #1
Registered: Dec 2004
Distribution: Fedora Core 5
Posts: 64

Rep: Reputation: 15
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?
Old 12-23-2004, 09:11 AM   #2
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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]#

Old 12-23-2004, 05:01 PM   #3
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
# cd "to be done"
Old 12-23-2004, 07:44 PM   #4
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
You can always use tab completion to navigate folders

Old 12-23-2004, 09:46 PM   #5
Registered: Dec 2004
Location: Singapore
Distribution: Fedora Core 5 Linux
Posts: 202

Rep: Reputation: 30
Try it like this:
directory\ name/
In between directory\ and nmae/ is the space.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 03:22 PM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 12:23 PM
Mount NTFS so that files are not executable buts directories are nasty_daemon Slackware 6 09-20-2005 01:51 AM
Windows XP/NTFS + Virtual PC/Mandrake + Samba = Shared Directories? IamI Mandriva 1 12-18-2004 06:06 PM
SuSe 8 makes NTFS mount point, but doesn't create directories, error when mounting... BlackDogg Linux - Distributions 5 08-01-2002 05:08 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration