From: Mauro Scomparin Date: Sun, 6 Sep 2020 14:58:53 +0000 (+0200) Subject: fix url.... X-Git-Url: https://git.scompo.it/?a=commitdiff_plain;h=HEAD;p=file-transfer.git fix url.... --- diff --git a/tel/download b/tel/download index 22f7971..dd9e6d8 100755 --- a/tel/download +++ b/tel/download @@ -6,8 +6,8 @@ SERVER=server1.scompo.it SSH_USER=scompo -LOCAL_FOLDER=$HOME -REMOTE_FOLDER=~/personal/files +LOCAL_FOLDER="$HOME" +REMOTE_FOLDER="~/personal/files" rsync -rzhvae ssh --progress "$SSH_USER@$SERVER:$REMOTE_FOLDER" "$LOCAL_FOLDER" diff --git a/tel/upload b/tel/upload index f8bcba6..6f41812 100755 --- a/tel/upload +++ b/tel/upload @@ -6,8 +6,8 @@ SERVER=server1.scompo.it SSH_USER=scompo -LOCAL_FOLDER=$HOME/files -REMOTE_FOLDER=~/personal +LOCAL_FOLDER="$HOME/files" +REMOTE_FOLDER="~/personal" rsync -rzhvae ssh --progress "$LOCAL_FOLDER" "$SSH_USER@$SERVER:$REMOTE_FOLDER"