diff options
Diffstat (limited to 'upload.sh')
| -rwxr-xr-x | upload.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/upload.sh b/upload.sh new file mode 100755 index 0000000..23f25b8 --- /dev/null +++ b/upload.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +URL=$(basename $(dirname $(readlink -f ${BASH_SOURCE[0]}))) + +pushd output +sftp webhost:${URL}/html <<EOF +put *.html +put -r posts +put -r static +put -r cv +EOF +popd |
