blob: 46daef99582a5c332ec165c9207436680d0b79f4 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
# Syncs important files to encrypted USB
mount-device && \
rsync -avP --delete-after --exclude="virtual_machines*" --exclude="media*" \
--exclude="*.iso" --exclude="*.qcow2" --exclude="*.zip" --exclude="*.img"\
$HOME/ /mnt/cryptusb/$USER@$(hostname)/
unmount-device
|