How to sync two Linux directories?
You can sync two directories using command rsync. Practical example is to run next command: rsync -avz –delete /sourceDirectory /destinationDirectory This will sync /destinationDirectory with content of /sourceDirectory, with additional: a for archive more (more to follow about this), v for verbose, and z for zip compression. Option –delete means that rsync delete option deletes…