From 70f8a05bcdbbf5ca887aee21e640f719a0823e9a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 1 May 2020 18:09:34 +0200 Subject: [PATCH] sync --- sync.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 sync.sh diff --git a/sync.sh b/sync.sh new file mode 100755 index 0000000..4951c9c --- /dev/null +++ b/sync.sh @@ -0,0 +1,13 @@ +#! /bin/bash +FILE="$(realpath "${BASH_SOURCE[0]}")" +DIRECTORY="$(dirname "${FILE}")" + +cd "${DIRECTORY}" + +rsync \ +--archive \ +--progress \ +--verbose \ +--delete-before \ +out/ \ +marc-beninca.fr:/ssd/projects/public/marc-beninca.fr/cnam/out/