aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xplaylist-get1
1 files changed, 1 insertions, 0 deletions
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