Re: [Tuxpaint-stamps] "Find missing descriptions" script
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Pere P. i C. <pe...@fo...> - 2007-03-12 18:51:55
|
El dj 15 de 02 del 2007 a les 01:34 -0800, en/na Bill Kendrick va escriure: > I've created a small BASH shell script in Tux Paint Stamps' "po/" subdirectory > called "find_missing_desc.sh" which lists all missing description files. > (i.e., cases where a PNG or an SVG exist, but no corresponding ".txt" is there) > > It may be useful to people who are adding numerous new stamps to the > Tux Paint Stamps collection, and want to make sure they didn't miss any > descriptions. Nice tool, thanks :) > I may generalize it later, so people can search for missing "_desc.ogg" > descriptive audio files, for example. Just changing txt="$path/$base.txt" to txt="$path/$base$1" in line 58 and calling the script with the desired extension like ./find_missing_descs.sh .dat is doing the thing for now. There are two tarballs, one for missing descs and the other for missing dats. The dats have just the noflip line except for dolphin who can jump upside down and fly who can walk on the ceiling. http://fornol.no-ip.org/linux/tuxpaint/stamps/missingtxt.tar.gz http://fornol.no-ip.org/linux/tuxpaint/stamps/missingdats.tar.gz Yours Pere |