Spaces in file names (was: Re: Reading/Copying from NTFS Partition)

HaJo Schatz hajo at hajo.net
Mon Feb 7 16:41:49 UTC 2005


On Mon, 2005-02-07 at 15:12 +0900, Mark Sargent wrote:

> Hi All,
> 
> does gedit/fedora2 have problems with filenames with spaces..? Can't 
> seem to open the following, /mnt/windows/Program Files/Microsoft 
> Office/Templates/1041/address.doc. Keep getting a file doesn't exist 
> error message. Cheers.
> 
> Mark Sargent.
> 
Spaces are no good in file-names. Either enclose the whole path into
<">, I.e. "/mnt/windows/Program Files/..." or escape the spaces with
<\>, I.e. /mnt/windows/Program\ Files/...

But all this is semi-autmoatic in decent shells. type your command and
the first few characters of the path and then hit <TAB>. The shell will
complete your path as far as it is unique and will automagically escape
characters correctly for you.

Finally, in your own interest, please don't hijack threads -- If you
have a new topic, don't reply to another topic's mail but create a new
mail. Otherwise many people will not read your mail, especially on a
crowded list like this one. I for an example only read the subjects and
dive in on a few if the subject sounds interesting or there are no
replies yet.

HaJo
-- 
HaJo Schatz <hajo at hajo.net>
http://www.HaJo.Net

PGP-Key:  http://www.hajo.net/hajonet/keys/pgpkey_hajo.txt




More information about the fedora-list mailing list