From 82df70eff06e7b44ee84283070d7f801f7fc1d92 Mon Sep 17 00:00:00 2001
From: Sam Chudnick <sam@chudnick.com>
Date: Sat, 6 Nov 2021 20:25:45 -0400
Subject: initial commit

---
 .local/bin/cryptusb/sync-cryptusb | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100755 .local/bin/cryptusb/sync-cryptusb

(limited to '.local/bin/cryptusb/sync-cryptusb')

diff --git a/.local/bin/cryptusb/sync-cryptusb b/.local/bin/cryptusb/sync-cryptusb
new file mode 100755
index 0000000..e9d3f1a
--- /dev/null
+++ b/.local/bin/cryptusb/sync-cryptusb
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Syncs important files to encrypted USB
+
+rsync -avP --exclude=".steam*" --exclude="virtual_machines*" --exclude="media*" \
+		--exclude="*.iso" --exclude="*.qcow2" \
+		$HOME/ /mnt/cryptusb/$USER@$(hostname)/
-- 
cgit v1.2.3