Originally Posted by billymayday
Try -m/--prune-empty-dirs and see if that works
Thanks for your reply.
I figured it out, the problem was: --exclude '.DS_Store'
Since only Mac OS generates those files, it is not necessary to exclude them when sending information from Linux to Mac.
The following revised string works fine:
rsync -avz --delete /home/alex/Documents/ Alex@192.168.1.101:"/Users/Alex/Documents/'Mis Documentos'/"