nixos-config/users/simon/modules/scripts/mkvpropedit-add-fonts

13 lines
267 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
2024-01-06 01:19:35 +01:00
# SPDX-FileCopyrightText: 2020-2021 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: CC0-1.0
set -e
file="$1"
shift
for attachment in "$@"; do
mkvpropedit --attachment-mime-type font/sfnt --add-attachment "$attachment" "$file"
done