1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-29 08:16:52 +00:00
dotfiles/fish/functions/optiall.fish

9 lines
346 B
Fish
Raw Normal View History

function optiall
fd -e jpg -e jpeg -x jpegoptim
fd -e mp3 -x mp3packer \; -x mv '{.}'-vbr.mp3 {}
fd -e pdf -x qpdf --stream-data=compress --replace-input --compress-streams=y --recompress-flate --compression-level=9 --optimize-images {}
2024-06-20 18:18:28 +00:00
fd -e png -x oxipng \; -x advpng -z3
fd -t f -x advdef -z3
fd -t f -x advzip -z3
end