Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS="/$mode" -dNOPAUSE
- -dBATCH $verbose -sOutputFile="$file-new" "$file" |
- tee -a $log
- sizeold=$(wc -c "$file" | cut -d' ' -f1)
- sizenew=$(wc -c "$file-new" | cut -d' ' -f1)
- difference=$((sizenew-sizeold))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement