[Discuss] Spaces_in_file_names.
Darren Duncan
darren at DarrenDuncan.net
Sat Nov 25 18:09:42 PST 2006
At 4:36 PM -0800 11/25/06, blackcrow wrote:
>Greetings all.
>
>I spend quite a bit of time renaming various files, substituting spaces in
>file names with underscores. I wonder if there is a Linux "fix" for this?
>Perhaps a kernel_patch anyone knows about? OR, are we destined to rename
>our received_files from the Window$ world forever?
>
>Any ideas or comments?
There is nothing intrinsicly "wrong" with having spaces in file
names. In fact, file names should be able to contain any characters
at all. So you should be able to receive files created under any
other OS and not run into problems due to how they are named.
If something doesn't work because of this, then it is the application at fault.
As far as I know, all or most of the standard Unixen programs can
handle files with spaces in their names fine.
If Linux can't handle the name of a file created in Windows, assuming
the same file system, that would imply Linux is inferior to Windows
in that respect. But we know better.
The only problem I encountered so far is that some build system I
used didn't quote things properly, and so had a problem when my
source was in a child directory of one with spaces in its name. But
that's an application problem.
-- Darren Duncan
More information about the Discuss
mailing list