You are not logged in.

#1 2007-11-03 18:36:07

LinuxViking
Member
From: MSU, Michigan, US
Registered: 2007-10-14
Posts: 25

File name question

Hello,
I have had a problem that is a little difficult to explain, but here it goes. Whenever I have a file which has a name with spaces in it, like "File Name.zip" it seems that terminal will not recognize it as a whole file but only recognizes the "File" part as a file. This gets a little annoying when I want to burn archive dvds on the command line through dvdrw tools (I usually need to rename tons of files) or use other command line aps like unrar or unzip. Is there any way to force Arch to recognize the whole file instead of the words?

I am running KDEmod and arch 64

Thanks in advance for the help

Offline

#2 2007-11-03 18:52:02

tam1138
Member
Registered: 2007-09-10
Posts: 238

Re: File name question

Enclose the entire filename within quotes, or backslash-escape the spaces.

Offline

#3 2007-11-03 18:53:43

hybrid
Member
Registered: 2007-02-05
Posts: 262

Re: File name question

I'm not exactly sure what your problem is, but if a file has spaces in it's name you need to escape the space. so eg 'unrar e /path/to/my\ file.rar' is the way to go. Or alternatively you can use 'command "my file"'.
If I completely misunderstood you, could you please give a specific example of what you want to do and what happens when it doesn't work?
Hope I could help

Offline

#4 2007-11-03 19:08:43

LinuxViking
Member
From: MSU, Michigan, US
Registered: 2007-10-14
Posts: 25

Re: File name question

yes that helps but I meant more like I have a file full of videos I downloaded like say a tv show series and they are all named things like "tvshow episode one.avi" and there are 12 and I want to burn the entire folder onto DVD through the growisofs command. But it wont burn them unless I rename the files.
But I think that will work thanks

Offline

#5 2007-11-04 12:37:06

Purch
Member
From: Finland
Registered: 2006-02-23
Posts: 229

Re: File name question

Offline

#6 2007-11-04 15:19:34

robertp
Member
From: Warszawa, Poland
Registered: 2007-09-11
Posts: 123

Re: File name question

I am running growisofs like this:

growisofs -Z /dev/dvd -J -r -U 'directory with files'

and I never has such problem. Theoretically DVDs created this way don't conform to ISO standard and may be unreadable under other operating systems.

Offline

Board footer

Powered by FluxBB