scripts

misc scripts and tools
git clone git://git.2f30.org/scripts.git
Log | Files | Refs

commit 1fe4b5983c4a444fecfa5b896f32bcffb533d470
parent d3911b2285e0ba270b7efd82a290c75c2ab7f1bb
Author: sin <sin@2f30.org>
Date:   Mon Nov  4 15:11:49 +0000

Overwrite destination file

I don't normally want my encoding process to be stalled simply
because I am not around to press 'y'.

No need to chdir back, the script terminates anyhow.

Diffstat:
ytget | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/ytget b/ytget @@ -27,7 +27,7 @@ done function encode { in="$1" out="$2" - ffmpeg -i "$in" "$out" + ffmpeg -y -i "$in" "$out" } # Encode all of them @@ -36,4 +36,3 @@ for i in *; do outfile="${i%.*}.mp3" encode "$i" "$outfile" done -cd -- \ No newline at end of file