You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
otthorn b9a354813d
continuous-integration/drone/push Build is passing Details
Merge pull request 'add_linter' (#5) from add_linter into master
Reviewed-on: #5
3 years ago
.drone.yml [lint] skip error SC2181 3 years ago
LICENSE Revert "Revert "📄 add license"" 3 years ago
README.md Add linter badge 3 years ago
pdf-optimize [lint] FIX SC2086: use double quotes on vars 3 years ago

README.md

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