summaryrefslogtreecommitdiff
path: root/.local/bin/cryptusb/sync-cryptusb
blob: e9d3f1a72706e82b5c4302d17b80f8b88e19c14c (plain)
1
2
3
4
5
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)/