excluding large dirs
This commit is contained in:
parent
19e9b46226
commit
5cb1203670
|
@ -49,7 +49,8 @@ build_nixos_vm () {
|
|||
mkdir -p "${mount_point}"
|
||||
doas mount /dev/nbd0 "${mount_point}"
|
||||
|
||||
rsync --progress -auvz "${HOME}/" "${mount_point}/home/kyle/"
|
||||
rsync --progress --exclude 'data' --exclude 'tmp' --exclude 'src' \
|
||||
-auvz "${HOME}/" "${mount_point}/home/kyle/"
|
||||
|
||||
echo "[+] finished, cleaning up"
|
||||
doas umount "${mount_point}"
|
||||
|
|
Loading…
Reference in New Issue