POV-Ray : Newsgroups : povray.general : Rename the image files for the HTML docs : Rename the image files for the HTML docs Server Time
8 Aug 2024 12:22:44 EDT (-0400)
  Rename the image files for the HTML docs  
From: bill
Date: 30 Dec 2000 00:51:18
Message: <3A4D7883.CB49ABE9@worldnet.att.net>
After you run htm2html you can script will rename the image files.

#!/bin/sh
# Lowercase the I in the Image.* files.
for SUF in gif jpg
do
   for FILE in $(ls *.$SUF)
   do
      LOWER=$(echo $FILE | tr 'I' 'i')
      mv $FILE $LOWER
      echo "$FILE -> $LOWER"
   done
done


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.