rsync(remote sync) commonly found on Unix-like systems which is a remote/local file synchronisation utility where It uses an algorithm that minimises the amount of data copied by only moving the portions of files that have changed. Without beating around the bush let’s get our hands dirty. I found this link really interesting. Also check out this link for the difference between scp and rsync.
Basic syntax and options of rsync
rsync options source destination
- -v , –verbose : verbose
- -r , –recursive : copies data recursively (but don’t preserve timestamps and permission while transferring data)
- -a , –archive : archive mode( copy files recursively and preserve symbolic links, file permissions, user & group ownerships and timestamps)
- -z , –compress : compress file data
- -P , –progress : show progress during transfer