Closed hugovk closed 2 years ago
Also compressed them in parallel using:
brew install parallel optipng time ls images/*.png | parallel optipng -o7 -zm1-9 {}
Took 3m39s, compared to 32m15s with time for f in $(ls images/*.png); do optipng -o7 -zm1-9 $f; done
time for f in $(ls images/*.png); do optipng -o7 -zm1-9 $f; done
(See https://www.freecodecamp.org/news/how-to-supercharge-your-bash-workflows-with-gnu-parallel-53aab0aea141/)
Also compressed them in parallel using:
Took 3m39s, compared to 32m15s with
time for f in $(ls images/*.png); do optipng -o7 -zm1-9 $f; done
(See https://www.freecodecamp.org/news/how-to-supercharge-your-bash-workflows-with-gnu-parallel-53aab0aea141/)