4 lines
161 B
Bash
Executable file
4 lines
161 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
mkvextract "$1" attachments "$(mkvmerge --identify "$1" | grep "Attachment ID" | sed "s/Attachment ID \([0-9]*\): .*/\1/")"
|