Category Archives: shell

rsync

#copy locally but exclude ...
rsync -rv --exclude={'*.arc','Cad','Foto','Sign'} /media/BC79-DC1B/src dest
#remote/ssh with certificates in place ...
rsync -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" \
-rv --exclude={'iid*','alfa'} --progress src cacer:~/dest