--- /dev/null
+#!/bin/sh
+# Download a folder from a remote server with rsync using ssh
+
+SERVER=server1.scompo.it
+SSH_USER=scompo
+
+LOCAL_FOLDER=$HOME
+REMOTE_FOLDER=~/personal/files
+
+rsync -rzhvae ssh --progress "$SSH_USER@$SERVER:$REMOTE_FOLDER" "$LOCAL_FOLDER"
+
--- /dev/null
+#!/bin/sh
+# Upload a directory to a server using rsync via ssh
+
+SERVER=server1.scompo.it
+SSH_USER=scompo
+
+LOCAL_FOLDER=$HOME/files
+REMOTE_FOLDER=~/personal
+
+rsync -rzhvae ssh --progress "$LOCAL_FOLDER" "$SSH_USER@$SERVER:$REMOTE_FOLDER"
+