[ILUG] Script junkies
Fergal Moran
fergal.moran at wasptech.com
Tue Apr 10 17:28:39 IST 2001
> Assuming you want to rename the directories as well as the files:
>
> find /path/to/folder -print | while read x ; do
> mv $x $(echo $x | tr 'A-Z' 'a-z')
> done
Cheers Colm
That almost worked - it did everything in the root folder and one directory
deep - but did not work any deeper than that - while it was running there
were a load of messages like
mv: cannot stat `/home/www/docs/oracle/server.815/A58231/CH2A.GIF': No such
file or directory
More information about the ILUG
mailing list