From 5ad779a1be2351fc48ac41e864d7c34c5250a944 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 1 Aug 2013 23:25:17 -0300 Subject: Create media dir at playlist-get --- playlist-get | 1 + 1 file changed, 1 insertion(+) diff --git a/playlist-get b/playlist-get index 7a688d9..6d71838 100755 --- a/playlist-get +++ b/playlist-get @@ -36,6 +36,7 @@ echo "Getting files from $PLAYLISTS/$PLAYLIST.m3u..." cat $PLAYLISTS/$PLAYLIST.m3u | while read file; do dir="$(dirname "$file")" base="$(basename "$file")" + mkdir -p "$MEDIA/$dir" ( cd "$MEDIA/$dir" && git annex $command "$base" ) done -- cgit v1.2.3