mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-20 05:43:18 +00:00
13 lines
332 B
Bash
Executable file
13 lines
332 B
Bash
Executable file
#!/bin/sh
|
|
fd -e pdf -x qpdf --stream-data=compress --replace-input --compress-streams=y --recompress-flate --compression-level=9 --optimize-images {}
|
|
|
|
fd -e jpg -e jpeg -x jpegoptim
|
|
fd -e webp -x cwebp -z 9 -mt {} -o {}
|
|
|
|
fd -t f -x advzip -z3
|
|
fd -t f -x advdef -z3
|
|
|
|
fd -e mp3 -x mp3packer \; -x mv {.}-vbr.mp3 {}
|
|
|
|
fd -e so -x strip
|