Files
linux-scripts/rsync/rsync-pull-with-public-key-to-local.sh
2023-08-26 16:14:53 -05:00

13 lines
278 B
Bash
Executable File

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