1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-28 07:56:41 +00:00
dotfiles/bin/optiall

17 lines
430 B
Plaintext
Raw Normal View History

#!/bin/sh
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 {}
fd -e png -x oxipng
fd -e jpg -e jpeg -x jpegoptim
fd -e png -e jpg -e jpeg 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
2022-07-05 23:48:52 +00:00
fd -t f -x advzip -z3
fd -t f -x advdef -z3
2021-10-26 19:01:32 +00:00
fd -e mp3 -x mp3packer
fd -e mp3 -x rename -- -vbr ''
fd -e so -x strip