#!/bin/bash

localFolder='/opt/Work/smartHeatServer/.'
remoteFolder='/opt/www/projekti/smartHeatServer'
remoteServer='klevze@server.klevze.si'

rsync -avz \
      --exclude "node_modules" \
      --exclude "package-lock.json" \
      --exclude "dist/*" \
      -e ssh  \
      $localFolder \
      $remoteServer:$remoteFolder/

