rsync two directories, slashes at ends of paths or not
I tried searching this on the web and see it different all over. My source folder is on the server I'm running rsync from. The folder is /data/pictures which has many subfolders. On my 126.96.36.199 server, I want to recreate pictures and all its subfolders inside of 188.8.131.52's /backups/pics-backup folder. When do I need to put a slash at the end of the folder paths and when don't I?
I think what I want to do is below, but searching on the web for when to put the trailing slash on the path has confused me as to what is right.
rsync -r -a -z -p -e ssh /data/pictures email@example.com:/backups/pics-backup/