Skip to content
Base64
April 3, 2022

Compress/Reduce PDF size Linux terminal

General by Curt Sahd

Reduce the size of a pdf file from the Linux terminal using Ghostscript:

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
Tagged compress, linux, pdf, reduce, size, terminal, ubuntu

Post navigation

Find chmod number/numeric value for specific file
How to find DirectAdmin Mysql root password

Recent Posts

  • Use Rsync to empty dir on Hetzner storage box
  • Move Proxmox VM from old to new cluster FAST
  • Get CSF to work with Docker iptables
  • Set timezone Ubuntu 20.04/22.04
  • Install CSF on Ubuntu 20.04/22.04

Categories

  • General