2020-12-19 16:15:45 +01:00
|
|
|
#!/usr/bin/env bash
|
2024-01-06 01:19:35 +01:00
|
|
|
|
|
|
|
# SPDX-FileCopyrightText: 2020-2021 Simon Bruder <simon@sbruder.de>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-05-31 23:59:13 +02:00
|
|
|
set -e
|
2020-12-19 16:15:45 +01:00
|
|
|
file="$1"
|
|
|
|
shift
|
2021-05-07 21:34:35 +02:00
|
|
|
for attachment in "$@"; do
|
2020-12-19 16:15:45 +01:00
|
|
|
mkvpropedit --attachment-mime-type font/sfnt --add-attachment "$attachment" "$file"
|
|
|
|
done
|