dotfiles/.local/bin/scripts/iridion
2023-04-27 14:28:04 +02:00

6 lines
159 B
Bash
Executable file

#!/bin/sh
# Upload website to iridion
# TODO: derive from id
site=$1
shift
scp -r "$@" "iridion:web/$site/public_html$(test "$#" -gt 1 || echo '/index.html')"