On Tue, 2011-10-04 at 22:48 +0200, Ralf Mardorf wrote:
> 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


PS: Use " or \, don't use ? or *, since wildcards might e.g. rm other
files too. 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1317761941.2632.12.camel@debian

Reply via email to