Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS="/$mode" -dNOPAUSE
  2. -dBATCH $verbose -sOutputFile="$file-new" "$file" |
  3. tee -a $log
  4. sizeold=$(wc -c "$file" | cut -d' ' -f1)
  5. sizenew=$(wc -c "$file-new" | cut -d' ' -f1)
  6. difference=$((sizenew-sizeold))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement