You rename a file or directory using the mv command. You don't necessarily
have to move the directory to another location. For example, if you had a
directory full of files in the current path called test, and you issued the
command:

mv test test.renamed

when you listed the contents of the current directory, test would be gone
and test.renamed would be there, with the contents of test contained inside.

Hope this helps,
Rob

----------
Hi all
Does somebody know if there's some command to *rename* either a file or
directory in Linux. I don't want to move them to another files/dirs.
Thank you
Bruno


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to