summaryrefslogtreecommitdiff
path: root/download.sh
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2022-12-18 18:55:00 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2022-12-18 18:55:00 +0100
commit4e7732e7202c432cc23820d0c87bdfe26de3575d (patch)
treebc87d827cb0550c2656d40666ba7e59df9944ebc /download.sh
parent1fddbf8e39c1029d22d93227159a62fa101e4ea7 (diff)
downloadquatuorbellefeuille.com-4e7732e7202c432cc23820d0c87bdfe26de3575d.tar.xz
Add script to download site from hosting server
Diffstat (limited to 'download.sh')
-rwxr-xr-xdownload.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/download.sh b/download.sh
new file mode 100755
index 0000000..522dd64
--- /dev/null
+++ b/download.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -eux
+
+local_dir=$1
+
+. settings.sh
+rsync -avz --delete ${remote_dir} ${local_dir}/