local path and remote path you can use either an absolute path or a relative path.
-d: synchronization type
localtoremote, l: one-way synchronization replicating local files not
on the server, removing files on the server that don’t exist on the local
remotetolocal, r: one-way synchronization replicating remote files
on the local directory, removing files on the local directory that don’t
exist on the server.
bidirectional, b: two-way synchronization replicating local files
not on the server and replicating remote files on the local directory,
no files are deleted.
-e: allow to specify how to handle files that exist on both sides:
ignore, i: just ignore the files.
newer, n: upload or download if the source is newer than the target.
size, s: upload or download if file sizes are different. Ignored in the
-r: synchronize recursively files and subdirectories.
Copy new and updated local files to server:
Backup remote files to local: