[NTLUG:Discuss] Command line directory rename program

Kenneth Loafman kenneth at loafman.com
Mon Sep 5 09:40:06 CDT 2005


'mv' will move a directory name as well.  Note 'mv' on in the UNIX sense 
will rename if possible, then move only if necessary.

So, 'mv foo fee' will rename 'foo' to 'fee'.

...Ken


Leroy Tennison wrote:
> Did a 'man -K rename' on Red Hat 9 and either I missed it or no entries 
> applied.  Is there a command line program to rename a directory like 
> either 'rename' or 'mv' can rename a file?  Doesn't have to be Red Hat 
> 9, I also have SuSE 9.2 and Fedora Core 3.
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 





More information about the Discuss mailing list