I am trying to setup an rsync script to sync files over the network.
I have files in a directory "my_dir".
I want those files copied to "remote_host:other_dir_name".
My command is: rsync -aR my_dir user@remote_host:other_dir_name
However, after it runs, on the remote host I get "other_dir_name/my_dir".
I don't want "my_dir" to be on the remote host. I just want the files (and subdirectories) from "my_dir" to be replicated in "other_dir_name".
What syntax do I need?