1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-11 07:55:05 +00:00
dotfiles/fish/functions/undeflate.fish

8 lines
277 B
Fish
Raw Normal View History

function undeflate
fd -t f -x advzip -z0
fd -t f -x advdef -z0
fd -e pdf -x qpdf --stream-data=uncompress --replace-input --compress-streams=n --recompress-flate --compression-level=0 --optimize-images {}
fd -e \~qpdf-orig -x rm
fd -e png -x advpng -z0
end