Re: filename with space

2003-02-21 Thread Vidiot
>I am trying to rename a bunch of files to another name. For example, > >picture 1 to picture1 >picture 2 to picture2 >... > >May I know how you can take out the space in old filename? Thank you. mv picture?1 picture1 mv picture?2 picture2 MB -- e-mail: [EMAIL PROTECTED]

Re: filename with space

2003-02-21 Thread Jacky Li
Hi, Thank you very much. It works like a charm. It sure saves me a lot of pain! :) Ze - Original Message - From: "Ashley M. Kirchner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 3:03 PM Subject: Re: filename with space >

Re: filename with space

2003-02-21 Thread Ashley M. Kirchner
Ashley M. Kirchner wrote: # ls -a That's supposed to be an -l like the first one. I goofed in my paste... -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner

Re: filename with space

2003-02-21 Thread Ashley M. Kirchner
Jacky Li wrote: I am trying to rename a bunch of files to another name. For example, picture 1 to picture1 picture 2 to picture2 ... May I know how you can take out the space in old filename? Thank you. Since you said you have a bunch of them, I suggest this: # for file in * ; do mv "$fi

Re: filename with space

2003-02-21 Thread Jacky Li
Hi, Ok..how about for maybe 100+ files with random filenames but space in between them? :) Thank you. Ze - Original Message - From: "Lon Lentz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 2:53 PM Subject: RE: filename with spa

Re: filename with space

2003-02-21 Thread Mike McMullen
The "rename" command may be helpful. Good luck. Mike - Original Message - From: "Jacky Li" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 4:40 PM Subject: filename with space > Hi, > > I am trying to rename a bu

RE: filename with space

2003-02-21 Thread Lon Lentz
I think the backslash is what you are looking for. mv picture1\ 1 to picture1 mv picture2\ 2 to picture2 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jacky Li Sent: Friday, February 21, 2003 7:40 PM To: [EMAIL PROTECTED] Subject: filename with space

filename with space

2003-02-21 Thread Jacky Li
Hi, I am trying to rename a bunch of files to another name. For example, picture 1 to picture1 picture 2 to picture2 ... May I know how you can take out the space in old filename? Thank you. Ze -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mail