29 lines
511 B
Markdown
29 lines
511 B
Markdown
|
# pdf-optimize
|
||
|
|
||
|
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
|
||
|
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
|
||
|
```
|
||
|
|
||
|
|