This repository has been archived on 2024-04-27. You can view files and clone it, but cannot push or open issues or pull requests.
autoytdlp/.convert_helper.sh

3 lines
146 B
Bash

#!/usr/bin/env bash
# Should not be called manually
ffmpeg -i "$1" "$(echo "$1" | sed -E "s/\.[A-Za-z0-9]+$/.$2/" | sed "s#\./files#./convert#")"