Ross Lynch wrote:
>> Hey all,
>> Here's the scenario, I wanted to quickly change the name of a file which
> was in upper case to lower case. So, first of all I tried 'mv FILE.HTML
> file.html' - alas, bash told me these were the same file. So, I then
> tried 'mv FILE.HTML file.html1' and 'mv file.html1 file.html' followed
> by 'rm FILE.HTML'. All had then disappeared! Why is bash acting as if it
> wasn't case sensitive? These files are on a Windows partition should
> that matter, but I don't think I've experienced wierdness like this
> before. Any know why it's happening?
Uhh... that is *not* normal behaviour. The only thing I can think of is
that you're running a strange version of the standard utils, because
neither 'rm' nor 'mv' have a documented switch to make them case
insensitive. I've moved files around on Win32 partitions before, and
you can certainly use different cases and have them honoured.
What system, version, and filesystem is this running on, by the way?
Vin
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!