#!/bin/sh cd $1 dir=$(basename $1) date=$(echo $dir|cut -f1 -d '_') album=$(echo $dir|cut -f2- -d '_') title=$(echo $album| sed 's/_/ /g') url=https://pdp8.info/music.html#$date description="$(sed 's/^$/
/' README)

original release: $url " description=$(echo $description) # remove newlines ia upload pdp8_$album *flac cover.jpeg --metadata="title:$title" --metadata="mediatype:audio" --metadata="licenseurl:http://creativecommons.org/licenses/by-sa/4.0/" --metadata="date:$date" --metadata="description:$description" --metadata="artist:pdp8@pdp8.info" --metadata="album:$album" --metadata="creator:pdp8@pdp8.info" --metadata="genre:electronic,techno"