#!/bin/bash

localFolder='/mnt/d/Sites/RadioPlayer/web/dist/.'
remoteFolder='/opt/www/virtual/RadioPlayer/'
remoteServer='klevze@server.klevze.si'

rsync -avz \
      --chmod=D755,F644 \
      --exclude ".phpintel/" \
      --exclude "bootstrap/cache/" \
      --exclude ".env" \
      --exclude "public/hot" \
      --exclude "public/files" \
      --exclude "node_modules" \
      --exclude "aritmija_devTemplate" \
      --exclude "web82/" \
      --exclude "storage/" \
      --exclude "oldSite/" \
      --exclude "vendor" \
      --exclude "resources/lang" \
      --exclude ".git/" \
      --exclude ".gemini" \
      --exclude ".github" \
      --exclude ".vscode" \
      -e ssh  \
      $localFolder \
      $remoteServer:$remoteFolder/
      