#!/bin/sh # Syncs important files to encrypted USB mount-device && \ rsync -avP --exclude="virtual_machines*" --exclude="media*" \ --exclude="*.iso" --exclude="*.qcow2" \ $HOME/ /mnt/cryptusb/$USER@$(hostname)/ && \ unmount-device