Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

boast

macrumors 65816
Original poster
Nov 12, 2007
1,417
886
Phoenix, USA
Code:
macbook:~ $ rsync -ar -vv -e ssh "/Users/user/Pictures/*" user@10.0.0.3:/home/media/photos
opening connection using ssh -l user 10.0.0.3 rsync --server -vvlogDtpr . /home/media/photos 
Password: 
building file list ... 
link_stat "/Users/user/Pictures/*" failed: No such file or directory
done

any other way to do this??? I can't backup the folder, because folder names are different, so I just want to backup all the content that is in the server. :confused:
 
I think the issue is in the way you are passing the list of files to backup. I have a remote volume (called miniStack) that I use to backup my Pictures like this:

rsync -aE --delete ~/Pictures /Volumes/miniStack/backup

Note that the volume has to be mounted, and it has a "Pictures" folder in the "backup" folder on the drive.

I have not tried this with ssh, but I wonder if it would work without the * and different folder names:

rsync -ar -vv -e ssh /Users/user/Pictures user@10.0.0.3:/home/media

I think this would create a "Pictures" folder in your remote /home/media directory...

As I said though - I haven't tried this with SSH...
 
I figured out that if I leave the trailing slash, it has the same effect as the asterisk, and copies the files

thanks for your effort, though.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.