cppannotations/bin/imagemove

23 lines
303 B
Bash
Executable file

#!/bin/sh
cd ../yo
GIFS=`find ./ -name '*.gif'`
if [ "$GIFS" == "" ] ; then
echo no gifs
else
tar cf - $GIFS | (cd ../html; tar xvf -)
rm $GIFS
fi
PS=`find ./ -name '*.eps'`
if [ "$PS" == "" ] ; then
echo no ps files
else
tar cf - $PS | (cd ../latex; tar xvf -)
rm $PS
fi