April 2023

How to copy data from local to remote server via rsync

How to copy data from local to remote server via rsync

To copy files from one remote location to a local server  using rsync: rsync -av user@host:/path/to/directory /path/to/directory Flags: -a: Archive, syncs recursively and preserves symbolic links, special and device files, modification times, groups, owners, and permissions. -v: Verbose, prints information…