Mercurial > repos > other > Adwaita-Dark-Green
view gtk-2.0/render-bits.sh @ 1:4940e3f37640
Remove some unused files
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 09 Apr 2016 20:50:07 +0100 |
parents | a48477723cfe |
children | 043c874084ba |
line wrap: on
line source
#! /bin/bash # # Yeah this script is pretty bad and ugly, so? # INKSCAPE=/usr/bin/inkscape SVG=adwaita-bits.svg LISTFILE=bits-list.txt for filename in `cat $LISTFILE` do DIR=`echo $filename | cut -f1 -d '/'` if [ '!' -d $DIR ]; then mkdir $DIR; fi ID=`echo $filename | tr '/' '_'` $INKSCAPE $SVG -i $ID -e $filename.png done