Re: [EMAIL PROTECTED]: Re: How to rename file case-sensitive?]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to David Arnstein on 8/26/2007 11:31 PM: - Forwarded message from Yaakov (Cygwin Ports) Ronald Fischer wrote: Is there an easy way to rename a file foo to Foo? mv foo Foo Upgrade to the experimental coreutils-5.9-5, and this should 'just work'. If I don't hear any more negative reports, then I will consider promoting this to current this week. This does not work for me. From my cygwin/bash prompt: Strix 516 type rename rename is hashed (/usr/bin/rename) Strix 508 touch xxx Strix 509 rename xxx Xxx Strix 513 ls x* xxx That's because rename requires at least three arguments, not two: old-pattern, new-pattern, files that should be changed. As in: rename xxx Xxx xxx - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG0sM184KuGfSFAYARAk+NAJsEtIEDiwNy0q1mjHFBUeMSs9NAdACggX4K KDUKlcqCDmPpIBFhli7IDOI= =sPNt -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
On Wed, Aug 15, 2007 at 08:53:10PM -0700, Andrew DeFaria wrote: Dave Korn wrote: On 15 August 2007 16:11, Andrew DeFaria wrote: Reply TITTTL'd: http://sourceware.org/ml/cygwin-talk/2007-q3/msg00119.html I don't read cygwin.talk or whatever so now you're arguing with yourself. Have fun and knock your socks off. (And get out more...) Regardless, your need to get in the last shot after being told that you were off-topic qualifies as warning #1. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
On Thu, Aug 16, 2007 at 07:22:21AM -0400, Christopher Faylor wrote: On Wed, Aug 15, 2007 at 08:53:10PM -0700, Andrew DeFaria wrote: Dave Korn wrote: On 15 August 2007 16:11, Andrew DeFaria wrote: Reply TITTTL'd: http://sourceware.org/ml/cygwin-talk/2007-q3/msg00119.html I don't read cygwin.talk or whatever so now you're arguing with yourself. Have fun and knock your socks off. (And get out more...) Regardless, your need to get in the last shot after being told that you were off-topic qualifies as warning #1. for cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Reini Urban on 8/15/2007 4:39 AM: Thorsten Kampe schrieb: * Ronald Fischer (Mon, 13 Aug 2007 16:38:07 +0200) Is there an easy way to rename a file foo to Foo? % zmodload zsh/files % mv foo Foo Now THAT is a reason to switch. praise zsh. By the way, I'm (slowly) working on patching (at least the cygwin version of) coreutils to support case-renaming natively in mv(1), to match how MacOS does things [1], including the ability to rename directories without requiring 'mv -T'. I hope to release a new coreutils next week. [1] http://lists.gnu.org/archive/html/bug-coreutils/2007-08/msg00083.html - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxSDD84KuGfSFAYARApjyAJ0Y2gKvHZu7aRml1ZoVd0zBgHK42QCeLl9B G/ju/VAgcHtK58TI8BhjnQc= =oJnN -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
Jeff Hawk wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew DeFaria Sent: Tuesday, August 14, 2007 10:03 AM To: cygwin@cygwin.com Subject: Re: How to rename file case-sensitive? Fergus wrote: rename foo Foo Wish it was so easy. The syntax is rename from to filelist so here you need rename foo Foo foo Fergus How about: $ mv foo bar mv bar foo Looks like a NOOP to me Dang! I used to have Foo at the end! --Jeff NAVIGON Inc. is one of the world’s leading providers of navigation products and software solutions. NAVIGON makes its own award-winning navigation brand consumer products and creates software solutions for OEM customers operating in personal navigation, wireless, and automotive sectors. For more information, visit www.navigon.com. Recent International Product Awards: - Best Hardware, Retail Vision 2007 - Red Dot “Best of the Best” Award 2007 - Best Navigation Application, Telematics Detroit 2007 *The information contained in this communication may be CONFIDENTIAL and is intended only for the use of the recipient(s) named above. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please notify the sender and delete/destroy the original message and any copy of it from your computer or paper files. Dang 2! Not *that's* a long sig. I always chuckle at the silly attempt to make this legal statement. It carries absolutely 0 weight but company's still force you to put them one (I'm guessing you're forced...). Tell me, if I did disseminate or distribute the contents of your messages do you really believe that some how you saying I was strictly prohibited from using it it would somehow bind me in any legal sense of the word? Indeed you putting out information on the public internet is akin to shouting in the park and you can't then attempt to prohibit anybody that hears/sees your public ramblings... (well you *could* attempt it but you would not succeed) -- Andrew DeFaria http://defaria.com Advice - Do not use a hatchet to remove a fly from your forehead. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
On Aug 15 00:48, Andrew DeFaria wrote: Jeff Hawk wrote: [disclaimer] [FULL QUOTED!] Was that really necessary just to make a fun out of it? Dang 2! Not *that's* a long sig. I always chuckle at the silly attempt to make this legal statement. http://sourceware.org/ml/gdb/2007-08/msg00108.html Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
Thorsten Kampe schrieb: * Ronald Fischer (Mon, 13 Aug 2007 16:38:07 +0200) Is there an easy way to rename a file foo to Foo? % zmodload zsh/files % mv foo Foo Now THAT is a reason to switch. praise zsh. -- Reini -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
Corinna Vinschen wrote: On Aug 15 00:48, Andrew DeFaria wrote: Jeff Hawk wrote: [disclaimer] [FULL QUOTED!] Was that really necessary just to make a fun out of it? Is quoting ever really necessary? Dang 2! Not *that's* a long sig. I always chuckle at the silly attempt to make this legal statement. http://sourceware.org/ml/gdb/2007-08/msg00108.html Huh? And I'm supposed to do what with this URL? -- Andrew DeFaria http://defaria.com Will the information superhighway have any rest stops? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: How to rename file case-sensitive?
On 15 August 2007 15:50, Andrew DeFaria wrote: Corinna Vinschen wrote: On Aug 15 00:48, Andrew DeFaria wrote: Jeff Hawk wrote: [disclaimer] [FULL QUOTED!] Was that really necessary just to make a fun out of it? Is quoting ever really necessary? Dang 2! Not *that's* a long sig. I always chuckle at the silly attempt to make this legal statement. http://sourceware.org/ml/gdb/2007-08/msg00108.html Huh? And I'm supposed to do what with this URL? It's called a 'reference'. You can try things such as 'looking it up' and 'seeing what it says'. It was probably given to you for a reason called 'FYI', and 'because it's directly relevant to what we were just talking about'. Earlier you showed us that you don't know how to quote. Now you're showing us that you don't know how to click. You're not batting well today. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
Dave Korn wrote: On 15 August 2007 15:50, Andrew DeFaria wrote: Corinna Vinschen wrote: On Aug 15 00:48, Andrew DeFaria wrote: Jeff Hawk wrote: [disclaimer] [FULL QUOTED!] Was that really necessary just to make a fun out of it? Is quoting ever really necessary? Dang 2! Not *that's* a long sig. I always chuckle at the silly attempt to make this legal statement. http://sourceware.org/ml/gdb/2007-08/msg00108.html Huh? And I'm supposed to do what with this URL? It's called a 'reference'. You can try things such as 'looking it up' and 'seeing what it says'. It was probably given to you for a reason called 'FYI', and 'because it's directly relevant to what we were just talking about'. Earlier you showed us that you don't know how to quote. Now you're showing us that you don't know how to click. Again, huh? Called a reference - no it was not called a reference. The word was not even mentioned. All that was present was a URL. And yes smart ass I know how to click, and read for that matter. Do you? Did you click and read it? I suspect not. Yes it mentioned about disclaimers *for some other group* and about some thing to institute a block, etc. But it wasn't about this group nor about the points I brought up leading me to say huh as in *how exactly do you fell that this URL and the page it references is relevant to what I was talking about???* Listen if you or Corina wishes to be terse and not explain things then expect questions. And I do know how to quote too. You're not batting well today. And you're batting below me. Where does that put you? -- Andrew DeFaria http://defaria.com Yes, I guess, they oughtta name a drink after you. - John Prine -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
On Wed, Aug 15, 2007 at 08:10:37AM -0700, Andrew DeFaria wrote: Dave Korn wrote: On 15 August 2007 15:50, Andrew DeFaria wrote: Corinna Vinschen wrote: On Aug 15 00:48, Andrew DeFaria wrote: Jeff Hawk wrote: [disclaimer] [FULL QUOTED!] Was that really necessary just to make a fun out of it? Is quoting ever really necessary? Dang 2! Not *that's* a long sig. I always chuckle at the silly attempt to make this legal statement. http://sourceware.org/ml/gdb/2007-08/msg00108.html Huh? And I'm supposed to do what with this URL? It's called a 'reference'. You can try things such as 'looking it up' and 'seeing what it says'. It was probably given to you for a reason called 'FYI', and 'because it's directly relevant to what we were just talking about'. Earlier you showed us that you don't know how to quote. Now you're showing us that you don't know how to click. Again, huh? Called a reference - no it was not called a reference. The word was not even mentioned. All that was present was a URL. And yes smart ass I know how to click, and read for that matter. Do you? Did you click and read it? I suspect not. Yes it mentioned about disclaimers *for some other group* and about some thing to institute a block, etc. But it wasn't about this group nor about the points I brought up leading me to say huh as in *how exactly do you fell that this URL and the page it references is relevant to what I was talking about???* Listen if you or Corina wishes to be terse and not explain things then expect questions. http://cygwin.com/ml/cygwin/2007-08/msg00161.html I really hoped that this discussion would go away but since you're insistent, let me point out that opinions about disclaimers are irrelevant as far as the cygwin list is concerned. Everyone agrees that disclaimers are annoying and, FYI, *quoting* the whole disclaimer in your message just compounds the annoyance. Please use the cygwin-talk list if you want to expound on this any further. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: How to rename file case-sensitive?
On 15 August 2007 16:11, Andrew DeFaria wrote: Reply TITTTL'd: http://sourceware.org/ml/cygwin-talk/2007-q3/msg00119.html cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
Dave Korn wrote: On 15 August 2007 16:11, Andrew DeFaria wrote: Reply TITTTL'd: http://sourceware.org/ml/cygwin-talk/2007-q3/msg00119.html cheers, DaveK I don't read cygwin.talk or whatever so now you're arguing with yourself. Have fun and knock your socks off. (And get out more...) -- Andrew DeFaria http://defaria.com Don't use a big word where a diminutive one will suffice. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
Fergus wrote: rename foo Foo Wish it was so easy. The syntax is rename from to filelist so here you need rename foo Foo foo Fergus How about: $ mv foo bar mv bar foo ??? -- Andrew DeFaria http://defaria.com God must love stupid people... He made so many. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: How to rename file case-sensitive?
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew DeFaria Sent: Tuesday, August 14, 2007 10:03 AM To: cygwin@cygwin.com Subject: Re: How to rename file case-sensitive? Fergus wrote: rename foo Foo Wish it was so easy. The syntax is rename from to filelist so here you need rename foo Foo foo Fergus How about: $ mv foo bar mv bar foo Looks like a NOOP to me --Jeff NAVIGON Inc. is one of the world’s leading providers of navigation products and software solutions. NAVIGON makes its own award-winning navigation brand consumer products and creates software solutions for OEM customers operating in personal navigation, wireless, and automotive sectors. For more information, visit www.navigon.com. Recent International Product Awards: - Best Hardware, Retail Vision 2007 - Red Dot “Best of the Best” Award 2007 - Best Navigation Application, Telematics Detroit 2007 *The information contained in this communication may be CONFIDENTIAL and is intended only for the use of the recipient(s) named above. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please notify the sender and delete/destroy the original message and any copy of it from your computer or paper files. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
Jeff Hawk wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew DeFaria Sent: Tuesday, August 14, 2007 10:03 AM To: cygwin@cygwin.com Subject: Re: How to rename file case-sensitive? Fergus wrote: rename foo Foo Wish it was so easy. The syntax is rename from to filelist so here you need rename foo Foo foo Fergus How about: $ mv foo bar mv bar foo Looks like a NOOP to me Well, it does have the side-effect of deleting any bar that might be lying around. regards Steve -- Steve Holden+1 571 484 6266 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://del.icio.us/steve.holden --- Asciimercial -- Get on the web: Blog, lens and tag the Internet Many services currently offer free registration --- Thank You for Reading - -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
On Mon, 13 Aug 2007, Ronald Fischer wrote: Is there an easy way to rename a file foo to Foo? mv foo Foo complains that they are the same file. From the FAQ I learned that this is due to the limitations of Windows which does not distinguish between case in file names. The FAQ also says that there is a highly experimental case-sensitive file system available. Not being prepared yet to live in a highly experimental way, I'm curious whether there is a simpler solution to the rename problem aside from the obvious hack mv foo bar; mv bar Foo I use the following (which is essentially a wrapper around the hack): $ cat /usr/local/bin/mvv #!/bin/sh /bin/mv ${1%%/} ${1%%/}-$$ mv ${1%%/}-$$ ${2%%/} HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
How to rename file case-sensitive?
Is there an easy way to rename a file foo to Foo? mv foo Foo complains that they are the same file. From the FAQ I learned that this is due to the limitations of Windows which does not distinguish between case in file names. The FAQ also says that there is a highly experimental case-sensitive file system available. Not being prepared yet to live in a highly experimental way, I'm curious whether there is a simpler solution to the rename problem aside from the obvious hack mv foo bar; mv bar Foo -- Ronald Fischer [EMAIL PROTECTED] Phone: +49-89-452133-162 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
* Ronald Fischer (Mon, 13 Aug 2007 16:38:07 +0200) Is there an easy way to rename a file foo to Foo? % zmodload zsh/files % mv foo Foo -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ronald Fischer wrote: Is there an easy way to rename a file foo to Foo? mv foo Foo rename foo Foo rename is provided by util-linux Yaakov -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGwPiUpiWmPGlmQSMRCK4GAJ9M4itcS5K2162Jg/atoKalfID/EgCfQ2ZA 1eIoivutjK6+m7sAgAUws0k= =pgjU -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to rename file case-sensitive?
rename foo Foo Wish it was so easy. The syntax is rename from to filelist so here you need rename foo Foo foo Fergus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/