#!/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