blob: f317d84841abe3bf77caba354875586580205ad5 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#!/bin/bash
# Define the source and destination directories
SRC_DIR=/home/$USER/Documents
DST_HOST=bach:/mnt/encrypted/matt_backups/
# Run rsync command using ssh for encryption
rsync -avz --delete "$SRC_DIR" "$DST_HOST"
|