ytconv

yt video creator
git clone git://git.2f30.org/ytconv
Log | Files | Refs

commit ebec6531a8f8e111a8cd01b3de4a67bb9cc2204b
parent 526fc453cb9f0c400decfd75f6974ef863f5b1da
Author: sin <sin@2f30.org>
Date:   Sat, 28 Nov 2015 11:26:17 +0000

XXXXXX needs to be last

Diffstat:
Mytconv | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ytconv b/ytconv @@ -38,7 +38,8 @@ if [[ "$1" != "-t" ]]; then FILE_PATH=$(readlink -f "$x") # because ffmpeg doesn't have a way to escape all special characters we # create a symbolic link of the file that contains only alfanumeric characters - LN_FILE=$(mktemp ${TMP_DIR}/XXXXXX.${x##*.}) + LN_FILE=$(mktemp ${TMP_DIR}/XXXXXX) + LN_FILE="$LN_FILE.${x##*.}" ln -fs "$FILE_PATH" "$LN_FILE" echo file \'"$LN_FILE"\' >> "$TMP_ALIST" done