From: Bastian Dehn Date: Mon, 14 Jul 2025 14:28:36 +0000 (+0200) Subject: check album exists X-Git-Tag: v1.0.0^2~53^2~5 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=7550b78edd86038eeec8c0f9d56cd25b2a702c9a;p=albentohandy.git check album exists --- diff --git a/albentohandy b/albentohandy index 696f18a..e4d7e79 100755 --- a/albentohandy +++ b/albentohandy @@ -336,6 +336,9 @@ make_symlinks_to_work() local musicpath="$3" for album in $(cat $albumlist); do + [ -d "$album" ] \ + || errlog "directory $album does not exists" \ + || return $? cp --recursive \ --symbolic-link \ $musicpath/$album \