diff options
Diffstat (limited to 'download-chapters.sh')
-rwxr-xr-x | download-chapters.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/download-chapters.sh b/download-chapters.sh index ba29d8e..facaeeb 100755 --- a/download-chapters.sh +++ b/download-chapters.sh @@ -12,6 +12,7 @@ do echo $url echo "$buch $number" - curl $url > "chapters/$buch/$number" + buchdir=$(echo "$buch" | sed "s/ /_/g") + curl $url > "chapters/$buchdir/$number" done done |