I am experiencing a strange behaviour.
I am unable to rename a directory to its all caps equivalent.
Here's the output:
CODE
[rkumar@localhost oawclassic.generatorwc.project]$ ls
build.properties* meta-inf/ model/ oaw/ pom.xml* src/ target/ todo.txt*
[rkumar@localhost oawclassic.generatorwc.project]$ mv meta-inf/ META-INF
mv: cannot move `meta-inf/' to `META-INF': File exists
[rkumar@localhost oawclassic.generatorwc.project]$ ls META-INF
ls: cannot access META-INF: No such file or directory
[rkumar@localhost oawclassic.generatorwc.project]$
build.properties* meta-inf/ model/ oaw/ pom.xml* src/ target/ todo.txt*
[rkumar@localhost oawclassic.generatorwc.project]$ mv meta-inf/ META-INF
mv: cannot move `meta-inf/' to `META-INF': File exists
[rkumar@localhost oawclassic.generatorwc.project]$ ls META-INF
ls: cannot access META-INF: No such file or directory
[rkumar@localhost oawclassic.generatorwc.project]$
Ok if this was not strange, see this:
CODE
[rkumar@localhost oawclassic.generatorwc.project]$ rename meta-inf/ META-INF
[rkumar@localhost oawclassic.generatorwc.project]$ ls
build.properties* meta-inf/ model/ oaw/ pom.xml* src/ target/ todo.txt*
[rkumar@localhost oawclassic.generatorwc.project]$
[rkumar@localhost oawclassic.generatorwc.project]$ ls
build.properties* meta-inf/ model/ oaw/ pom.xml* src/ target/ todo.txt*
[rkumar@localhost oawclassic.generatorwc.project]$
The rename seems to be successful, but still i am not able to see the all caps renamed file!
Please suggest how to achieve what i want to do!
Thanks,
rohit.
