Skip to content

Instantly share code, notes, and snippets.

View tomek-f's full-sized avatar
🚀

Tomek Fijoł tomek-f

🚀
View GitHub Profile
@tomek-f
tomek-f / commands.md
Last active January 11, 2024 12:18 — forked from gielcobben/optimise-images-terminal.md
File commands in the terminal

jpg

$ brew install jpegoptim
$ find . -name "*.jpg" -exec jpegoptim -m80 -o -p --strip-all {} \;

png

$ brew install optipng
$ find . -name "*.png" -exec optipng -o7 {} \;

mp4 to mp3

$ brew install ffmpeg