Files
linux-scripts/rsync/rsync-pull-with-public-key-to-local.sh
2023-11-30 11:09:52 -06:00

13 lines
266 B
Bash
Executable File

rsync -avP -e "ssh -i ~/.ssh/publickey" \
--exclude=/etc/fstab \
--exclude=/etc/network/* \
--exclude=/lib/modules \
--exclude=/proc/* \
--exclude=/tmp/* \
--exclude=/sys/* \
--exclude=/dev/* \
--exclude=/mnt/* \
--exclude=/boot/* \
--exclude=/root/* \
hostname:/ /