Synchronize recursively and update all files (-a), show verbose output (-v), compress file data during the transfer (-z), and exclude all files ending with a tilde (~) (~*) from the synchronization from the Downloads directory in the home directory (~/Downloads) to the /tmp/downloads directory.
rsync -auvz --exclude="*~" ~/Downloads/* /tmp/downloads