The UNIX and Linux Forums  
Hello and Welcome from to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 01-06-2008
Duke_Lukem Duke_Lukem is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 3
Talking

Quote:
Originally Posted by radoulov View Post
If you have zsh:

Code:
autoload -U zmv
zmv '(*)' '${(u)1}'
With ksh (not sure if ksh88 supports it):

Code:
typeset -u t;for f in *;do t="$f";mv "$f" "$t";done
Hi radoulov,

Your ksh script worked a treat - thanks a bunch!!