compresor.sh 131 B

1234567
  1. #!/bin/bash
  2. ls *png > archivos
  3. while read l; do
  4. pngcrush -q "$l" "temp.png"
  5. mv "temp.png" "$l"
  6. done < archivos
  7. rm archivos