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"