How do I rename directories

How do I rename directories

Post by Ilya N. Beloozer » Fri, 02 Dec 1994 15:32:19



 A Question: how can I rename a directory? Thanks!
--
 ===================================================================

       WWW page:  http://csugrad.cs.vt.edu/~ibelooz/  | PGP-key    |
 ===================================================================
 
 
 

How do I rename directories

Post by Steven B. Thompso » Fri, 02 Dec 1994 22:05:52



:  A Question: how can I rename a directory? Thanks!
: --

Depends on the version of Unix you're running.   Some versions will
allow "mv dir dir_new", while others have a specific command for
directories: "mvdir dir dir_new".   Sometimes, the 'mvdir' command
is in /etc, check there as well.

-------------------------------------------------------------------------
Steve Thompson                   |  The person who says it cannot be done



 
 
 

How do I rename directories

Post by David Pete » Fri, 02 Dec 1994 23:39:59



Quote:Beloozerov) writes:
>  A Question: how can I rename a directory? Thanks!
> --

'mv' works fine for me, at least on HP-UX.

>  ===================================================================

>        WWW page:  http://csugrad.cs.vt.edu/~ibelooz/  | PGP-key    |
>  ===================================================================

--
"I look up; the sky is blue/I look down; Oh no, so are you."
 
 
 

How do I rename directories

Post by David Weinga » Fri, 09 Dec 1994 05:26:54



:  A Question: how can I rename a directory? Thanks!

mv oldname newname works for me
--
73 de Dave Weingart  KB2CWF        |    "Send lawyers, guns and money!


In the event I am captured or killed, the secretary, the project leader,
the manager and the C.E.O. will disavow any knowledge of my opinions.

 
 
 

How do I rename directories

Post by Franz Josef Amli » Thu, 15 Dec 1994 18:04:11


: mv oldname newname works for me

May not work if the directory is a mount point, then do a umount first
... and do not forget to change your fstab.

Bye, Juergen