POV-Ray : Newsgroups : povray.general : Rename the image files for the HTML docs Server Time
8 Aug 2024 10:25:21 EDT (-0400)
  Rename the image files for the HTML docs (Message 1 to 2 of 2)  
From: bill
Subject: Rename the image files for the HTML docs
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

From: Matt Giwe
Subject: Re: Rename the image files for the HTML docs
Date: 30 Dec 2000 04:49:36
Message: <3A4DAFAF.89336392@ij.net>
bill wrote:
> 
> 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

	tolower * 

-- 
When you raid a cathouse you take 
the piano player too. 
	-- The Iron Webmaster, 410


Post a reply to this message

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