rename one file

Rodrigo Malara rodrigomalara at yahoo.com.br
Wed Dec 24 14:45:39 UTC 2003


I experienced this problem too and it appears to be related to the
filesystem type, because it only happened to vfat filesystems.
I remember that a solution was related to setting the proper option when
mounting the filesystem...

> 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
> $






More information about the fedora-list mailing list