rename one file
Robert Vangel
robzilla at westnet.com.au
Wed Dec 24 14:38:17 UTC 2003
Trevor Smith wrote:
> The other day I wanted to rename one file from a console window like
> this:
>
> filename.extension
>
> to
>
> filename.EXTENSION
>
> I couldn't find any way to do it while leaving the file in the same
> directory. I could succeed using KDE/mouse renaming, but mv and cp
> refused or failed to rename the file while leaving it in the same
> directory.
>
> Any ideas?
>
>
This works fine for me
$ touch file.extension
$ ls
file.extension
$ mv file.extension file.EXTENSION
$ ls
file.EXTENSION
$
--
Robert Vangel
Administrator,
RedFlag Gaming & Technology [ http://www.rfgt.net ]
More information about the fedora-list
mailing list