trying to rsync down local copy of wordpress uploads folder.
rsync -avz firstname.lastname@example.org:/home/user/mydomain.com/wp-content/uploads/* /Users/home/Desktop/local-uploads/
That works... but then trying to sync back up...
rsync -avz /Users/home/Desktop/local-uploads/* /home/user/mydomain.com/wp-content/uploads/* .
rsync -avz /Users/home/Desktop/local-uploads/* /home/user/mydomain.com/wp-content/uploads/*
does not work. i get different errors. what am i doing wrong.
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) [sender=2.6.9]
rsync: mkdir "/home/user/mydomain.com/wp-content/uploads/*" failed: No such file or directory (2)
rsync error: error in file IO (code 11) at /SourceCache/rsync/rsync-42/rsync/main.c(544) [receiver=2.6.9]
rsync: connection unexpectedly closed (8 bytes received so far)
rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-42/rsync/io.c(452) [sender=2.6.9]