From d071d42abfc1db6206b6b68f0535e461a3c69535 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Tue, 21 May 2024 21:42:57 +0200 Subject: [PATCH] force overwrite folder.jpg --- extract_cover.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extract_cover.sh b/extract_cover.sh index 3d8944f..904cf7e 100755 --- a/extract_cover.sh +++ b/extract_cover.sh @@ -13,7 +13,7 @@ for dir in */; do # Wenn eine Musikdatei gefunden wurde if [[ -n "$first_music_file" ]]; then # Extrahiere das Coverbild - ffmpeg -i "$first_music_file" -an -vcodec copy folder.jpg + ffmpeg -y -i "$first_music_file" -an -vcodec copy folder.jpg fi # Gehe zurück ins Ausgangsverzeichnis