Useful Linux Commands:

rsync -a username@remote_host:/home/username/directory local_directory

-a syncs recursively and preserves symbolic links, special and device files, modification times, groups, owners, and permissions. It’s more commonly used than -r and is the recommended flag to use.