No description
Find a file
Otthorn 915ccd5a0a
Some checks reported errors
continuous-integration/drone/push Build encountered an error
fix drone
2021-02-19 01:06:02 +01:00
.drone.yml fix drone 2021-02-19 01:06:02 +01:00
LICENSE Revert "Revert "📄 add license"" 2021-02-16 00:53:42 +01:00
pdf-optimize Revert "On second though, shell script should not have .sh extension for simplicity" 2021-02-16 00:54:05 +01:00
README.md Add linter badge 2021-02-19 01:04:21 +01:00

pdf-optimize

Build Status

pdf-optimize is a simple script to optimize pdf using ghostscript. You need to have ghoscript installed on your machine.

Installation

git clone https://gitea.auro.re/otthorn/pdf-optimize
cd pdf-optimize
chmod +x pdf-optimize.sh
sudo mkdir -p /opt/bin/
sudo cp pdf-optimize.sh /opt/bin/pdf-optimize

Don't forget to add /opt/bin to your PATH. If you can add this line at the end of your bashrc (or whatever your use)

PATH="$PATH:/opt/bin"

Usage

You can get help using

pdf-optimize -h