Fixed the pages export script. Proper echo statement
This commit is contained in:
parent
b39de15f52
commit
154d526fa6
|
@ -10,13 +10,10 @@ DPI=1440
|
||||||
#Location of generated pages
|
#Location of generated pages
|
||||||
PAGE_FILES="~/Desktop/page_*.tif"
|
PAGE_FILES="~/Desktop/page_*.tif"
|
||||||
|
|
||||||
echo "Changing calibration files to ${DPI}dpi..."
|
echo "Changing exported page files to ${DPI}dpi..."
|
||||||
|
|
||||||
for f in $PAGE_FILES
|
for f in $PAGE_FILES
|
||||||
do
|
do
|
||||||
name=$(basename "$f" .tif)
|
echo "Converting ${f} to ${DPI}dpi..."
|
||||||
#echo $name
|
|
||||||
echo "Converting $f..."
|
|
||||||
mogrify $f -units PixelsPerInch -density $DPI
|
mogrify $f -units PixelsPerInch -density $DPI
|
||||||
rm $f
|
|
||||||
done
|
done
|
Loading…
Reference in New Issue