dotfiles/.local/bin/scripts/iridion

7 lines
159 B
Plaintext
Raw Normal View History

2023-04-27 12:28:04 +00:00
#!/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')"