summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2023-06-13 17:44:39 -0700
committerKai Stevenson <kai@kaistevenson.com>2023-06-13 17:44:39 -0700
commit43aee5900c6442bdf042e4db4480f0b74b8fbf54 (patch)
tree367ebdbadf488a9c5c11fecd9bc164cd53be2699
parentf27594375a71d9e18bfee52e663dbe55652dab52 (diff)
music backup script
-rwxr-xr-xbackupz/musicbackup5
1 files changed, 5 insertions, 0 deletions
diff --git a/backupz/musicbackup b/backupz/musicbackup
new file mode 100755
index 0000000..27dd850
--- /dev/null
+++ b/backupz/musicbackup
@@ -0,0 +1,5 @@
+#!/bin/sh
+MUSICDIR=/srv/music
+REMOTEDIR=root@covalent.aberrantflux.xyz:/srv/backup/music
+echo "syncing to remote"
+rsync -az --delete $MUSICDIR/* $REMOTEDIR/*