1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-27 00:53:17 +00:00
dotfiles/dot-local/bin/undeflate

6 lines
250 B
Plaintext
Raw Normal View History

2021-10-26 19:01:32 +00:00
#!/bin/bash
fd -e pdf -x qpdf --stream-data=uncompress --replace-input --compress-streams=n --recompress-flate --compression-level=0 --optimize-images {}
fd -e{epub,zip,cbz,jar,docx,odt,apk} -x advzip -z0
fd -e png -x advpng -z0
fd -t f -x advdef -z