Re: rename one file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mv filename.ext ./filename.EXT didn't work?
this is if the file you want to rename is in that directory and you want the new file there as well.
if your using a path on the first part of move mv /etc/hosts.allow (and you not in it) mv assumes you want the file in the current directory so you need mv /etc/hosts.allow /etc/hosts.ALLOW



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?









[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux