Commit 898502d5 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

added png's and jpg's

parent 9016d336
...@@ -94,7 +94,7 @@ else ...@@ -94,7 +94,7 @@ else
# Process all bmps # Process all bmps
# b - border size in pixels # b - border size in pixels
b=20 b=20
for f in *.bmp for f in *.bmp *.jpg *.png
do do
#if there are no *.bmp it still runs once?! #if there are no *.bmp it still runs once?!
if [ -f $f ]; then if [ -f $f ]; then
......
...@@ -11,7 +11,7 @@ cd $production_dir ...@@ -11,7 +11,7 @@ cd $production_dir
#back up files #back up files
echo "-------- $0: Back Up --------" echo "-------- $0: Back Up --------"
if [ ! -d $bkp_dir ]; then mkdir $bkp_dir; fi if [ ! -d $bkp_dir ]; then mkdir $bkp_dir; fi
for f in *.stp *.dxf *.igs *.dwb *.bmp *.pdf~; for f in *.stp *.dxf *.igs *.dwb *.bmp *.png *.jpg *.pdf~;
do do
if [ -f $f ]; then mv $f $bkp_dir; fi if [ -f $f ]; then mv $f $bkp_dir; fi
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment