[NTLUG:Discuss] Command line directory rename program

Leroy Tennison leroy_tennison at prodigy.net
Mon Sep 5 16:06:37 CDT 2005


Kenneth Loafman wrote:

> '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
>>
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>
Well, I must have misspelled something because I originally got a "Can't 
stat ..." message but now it works, thanks.





More information about the Discuss mailing list