Create script to make the cow files

The script uses 'img2xterm' to generate cow files from each pokemon
image.
This commit is contained in:
Lucas Possatti
2015-06-10 23:50:39 -03:00
parent 0ca94d28fb
commit e02144e100

13
make_cows.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
#
# Transform image files pixel per pixel into cow files.
#
for fullfilename in ./scrapped-data/*.png
do
filename=$(basename "$fullfilename")
extension="${filename##*.}"
filename="${filename%.*}"
img2xterm --cow "$fullfilename" "cows/$filename.cow"
done