#!/bin/bash REMOTE_HOST="mollusk@voidbuilds.xyz:/var/www/html/x86_64/" cd build rsync -v -I -h --progress sha256sums.txt ${REMOTE_HOST} rsync -v -I -h --progress sha256sums.txt.sig ${REMOTE_HOST} rsync -v -I -h --progress *.iso ${REMOTE_HOST} cd .. rsync -v -I -h --progress *.packages ${REMOTE_HOST}image_pkglists/ ssh mollusk@voidbuilds.xyz "rm -fv /var/www/html/x86_64/SYNCING_NEW_IMAGES.txt" echo "Done Syncting to Host!"