Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
158 B

  1. #!/bin/env bash
  2. while [ $# -gt 0 ]; do
  3. OLDFORMAT=$1
  4. NEWFORMAT=$(echo " $OLDFORMAT" | sed 's/\.\w*$/.webp/')
  5. convert $OLDFORMAT $NEWFORMAT
  6. shift
  7. done