Within the current version of Carbon Copy Cloner (3.5.1) is rsync version 3.0.6. Buried deep within the application is /Applications/Carbon\ Copy\ Cloner.app/Contents/MacOS/ccc_helper.app/Contents/MacOS/rsync #Things for mac synchronize installThe easiest way to get a newer version of rsync on your Mac is to install Carbon Copy Cloner. Note single-dash parameters do not have to be written separately 'rsync -a -v -E' and 'rsync -avE' do the exact same thing. This tells rsync to include "extended attributes," various file properties, not just resource forks, that can be found on OS X files that aren't generally found on other Unix-based operating systems. However, if you're going to use that version, you really should add another switch, -E. Yes, the version of rsync that comes with all versions of OS X is rather outdated. Here i find a usefull comment about extended attributes from extra88: I recommend this procedure to anyone trying to synchronize two folders on a Macintosh. It took about 20 minutes to build it in Automator - a program I've never used before. I had to take a leap of faith when it came to interpreting "Here you're also have to say to automator that you want to ignore input from previous action." I wasn't sure if I'd missed a step, but it turned out to be the same step as 4. I took the time to follow the instructions, which, at first, seemed very complicated and intimidating. REALLY? Those were my options? A potential for malware/spyware or monthly charges? After a few hours, I came upon this tutorial. #Things for mac synchronize softwareInformation on the internet pointed to 3rd party software - some free and others with a fee. I did NOT want to have to re-copy the entire folder everyday (it is 4 gigs!) and I did not want to have to keep track of which files I modified everyday. #Things for mac synchronize portableWhat I needed seemed so simple - a way to synchronize a folder on my office MAC with a folder on a portable device so I could share them with my home MAC. you need quotes around My Passport path because you have space in the volume name (My Passport), you could do without quotes, but than you have to escape space character like this: So the simple solution would be to create some folder on your My Passport disk and than sync it to that. "~" is a shortcut for home folder, so instead of writing /Users/Jan/ you put just ~, but, if you use that shortcut than you can't put the whole path under quotes. You're missing "/" before Volumes, when you put it like this without "/" you're telling it to search for a folder Volumes in the folder you're currently in, so if you're in your home folder ("/Users/Jan/") it will look for /Users/Jan/Volumes/My Passport/ and there's probably no such folder.Īnd there's another problem. Rsync -aE -delete ~/Desktop/testerfolder/ "/Volumes/My Passport/test_target/" So I would suggest that you make a folder on you My Passport disk and then run it, for example: Trashes because there's no such folder in your testerfolder/ folder. Trashes for deleted files) and these are usually locked. Is that you're syncing to root of your attached disk, and there are always some hidden folders in roots of hard disks (one is. I hope it isn't a bother to help me sort this out. Check the action’s properties and try running the workflow again. The action “Run Shell Script” encountered an error. I tried with both -va and -aE and with and without quotes around the source folder. Rsync -va -delete "~/Desktop/testfolder/" "Volumes/My Passport/" When I wrote and saved this in a RunShellScript in Automator: Rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-42/rsync/io.c(452) Rsync: connection unexpectedly closed (8 bytes received so far) Rsync error: errors selecting input/output files, dirs (code 3) at /SourceCache/rsync/rsync-42/rsync/main.c(580) Rsync: push_dir#3 "/Users/Jan/Volumes" failed: No such file or directory (2) rsync: link_stat "/Users/Jan/~/Desktop/testfolder/." failed: No such file or directory (2) Rsync -va -delete "~/Desktop/testfolder/" "Volumes/My Passport"īuilding file list. Rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(992) Rsync: opendir “/Volumes/My Passport/.Trashes” failed: Permission denied (13) Rsync -aE -delete ~/Desktop/testerfolder/ "/Volumes/My Passport/" I have not used the terminal nor the Automator before, so I apologize in advance for my total lack of knowledge. I tried the modified version of your instructions found on practically efficient dot com.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |