[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compatibility Issues With Windows Files



On Tue, 2011-10-04 at 13:34 -0400, Dan Ritter wrote:
> On Tue, Oct 04, 2011 at 01:32:39PM -0400, RiverWind wrote:
> > When attempting to extract "rar" files in either Linux or Unix, the
> > file naming protocol seems to be a very crucial issue. To wit,
> > should a file be fraught with open spaces, many Unix and Linux
> > utilities will not work, because it seems that MS-Windows allows
> > for blank spaces within file names, whereas Dos, Linux and Unix do
> > not. This would seem to be the case from my personal point of view
> > based upon recent experience.
> 
> Use quotes.
> 
> touch "This is a file with spaces"
> rm "This is a file with spaces"
> 
> -dsr-

spinymouse@debian:~$ touch "This is a file with spaces"
spinymouse@debian:~$ ls This*
This is a file with spaces

spinymouse@debian:~$ rm This\ is\ a\ file\ with\ spaces
spinymouse@debian:~$ ls This*
ls: cannot access This*: No such file or directory



Reply to: