From d63ae68b9fc58249d8355e3bba86ddda4a7baf1e Mon Sep 17 00:00:00 2001 From: lub Date: Sun, 28 Oct 2018 10:55:19 +0100 Subject: [PATCH] add comment what compress-music.sh does --- compress-music.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/compress-music.sh b/compress-music.sh index 83d4910..7933d84 100755 --- a/compress-music.sh +++ b/compress-music.sh @@ -1,6 +1,10 @@ #!/bin/bash set -e +# +# this script compresses everything in $source and saves it in $destination +# + source="$HOME/kskcloud/Musik/" tmp="$HOME/Musik.tiny/" destination="$HOME/kskcloud/Musik.tiny/" @@ -31,4 +35,4 @@ find "$tmp" -type f -not -name '*.opus' -delete # copy compressed files to target destination cp -a --reflink=always "$tmp/"* "$destination" -rm -r "$tmp" \ No newline at end of file +rm -r "$tmp"