Howtoforge published a guide about synchronize directories using Lsyncd on Ubuntu 20.04.
How to Synchronize Directories Using Lsyncd on Ubuntu 20.04
Lsyncd is a simple and lightweight tool that allows you to mirror your local directory to another directory on the remote server.
How to Synchronize Directories Using Lsyncd on Ubuntu 20.04