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

Re: Renaming a directory..



> 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

mv oldname newname

"mv" actually *moves* files only if oldname and newname are on the 
different partitions (filesystems), otherwise it plainly renames files 
(directories).

Alex Y.
-- 
   _ 
 _( )_
(     (o___           +-------------------------------------------+
 |      _ 7           |            Alexander Yukhimets            |
  \    (")            |       http://pages.nyu.edu/~aqy6633/      |
  /     \ \           +-------------------------------------------+


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: