2021-02-25 21:54:50 +00:00
|
|
|
#!/bin/bash
|
2020-12-28 19:14:15 +00:00
|
|
|
fd -e pdf -x cpdfsqueeze {} {}
|
2021-10-26 19:01:32 +00:00
|
|
|
fd -e pdf -x qpdf --stream-data=compress --replace-input --compress-streams=y --recompress-flate --compression-level=9 --optimize-images {}
|
|
|
|
|
2021-01-24 05:49:08 +00:00
|
|
|
fd -e png -x oxipng
|
2021-02-25 21:54:50 +00:00
|
|
|
fd -ejp{e,}g -x jpegoptim
|
2021-12-04 20:53:41 +00:00
|
|
|
fd -e png -ejp{e,}g -X pingo -s9
|
2021-07-10 01:10:18 +00:00
|
|
|
fd -e webp -x cwebp -z 9 -mt {} -o {}
|
2021-10-26 19:01:32 +00:00
|
|
|
|
2021-12-31 19:29:17 +00:00
|
|
|
fd -e{epub,zip,cbz,jar,docx,odt,apk} -x advzip -z2
|
|
|
|
fd -t f -x advdef -z2
|
2021-10-26 19:01:32 +00:00
|
|
|
|
|
|
|
fd -e mp3 -x mp3packer
|
|
|
|
fd -e mp3 -x rename -- -vbr ''
|