Something went wrong. Try again.
My assorted media manipulation scripts
Something went wrong. Try again.
mediascripts stripcovers
492 B 19 lines
at main
1234567891011121314151617181920#!/usr/bin/env bash
# Check for tool dependenciesSELF_FULLPATH=`realpath $0`SELF_DIR=`dirname $SELF_FULLPATH`# Override default tool list, we only need these twoTOOLS=(mkvpropedit)# Does not depend on any other scriptsSCRIPTS=NONEif [ ! -r $SELF_DIR/toolchecker ]; then echo "toolchecker not found." exit 1else . $SELF_DIR/toolcheckerfi
for FILE in "$@"; do $MKVPROPEDIT "$FILE" --delete-attachment mime-type:image/jpeg --delete-attachment mime-type:image/pngdone