#!/bin/bash

# The local directory you want to sync from
LOCAL_DIR="/home/chubby/nginx"

# The name of your rclone remote (from step 1)
REMOTE_NAME="test-irks"

# The directory on the WebDAV server you want to sync to
REMOTE_DIR="/"

# Sync the local directory to the WebDAV server
# This will make the remote directory match the local one.
# Use --dry-run to test without making any changes.
rclone sync "$LOCAL_DIR" "$REMOTE_NAME:$REMOTE_DIR" --progress
