scripts

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

commit 61f1bcabe55313a38a70cbf76dbd520b0d93eaae
parent 26349c12653665a5e4f27614ab8cbd37b1a5e357
Author: sin <sin@2f30.org>
Date:   Mon Nov  4 17:07:27 +0000

Fix incompatibilities between GNU find and BSD find

Diffstat:
ytfetch | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ytfetch b/ytfetch @@ -25,4 +25,4 @@ mkdir -p $HOME/music/yt # Encode all of them cd $scratch -find . -name "*.mp4" -o -name "*.flv" -exec sh -c 'ffmpeg -i "$0" "$HOME/music/yt/${0%.*}.mp3"' {} \; +find . \( -name "*.mp4" -o -name "*.flv" \) -exec sh -c 'ffmpeg -i "$0" "$HOME/music/yt/${0%.*}.mp3"' {} \;