Rsync oneliners

How to sync two dirs locally

#!sh
rsync -zvr /var/opt/installation/inventory/ /root/temp