System specs: 2011 iMac, OS X Mountain Lion 10.8.4
I have come to understand that Rsync does not handle Mac Alises properly, and have now discovered that hundreds of aliases I've previously copied to my portable drive, are dead and useless because of this.
Is there a way to force Rsync to handle aliases? If the answer is a definitive "no", then how can I recursively batch convert all aliases in a directory to symlinks so that they will be handled by Rsync? I've found references to an Applescript that would apparently do this, but the site hosting the script is long dead & gone.
As a last resort, does anyone know of something other than Rsync that would allow for incremental backups and also handle Aliases?
Best Answer
Rsync can't look into the content of Alias files which would be needed to convert them. So if you want to have your backup be useable as is (without restoring it to the orignal drive) you will have to replace the Aliases with symlinks.
There is a solution for this on MacOSXHints.com. It needs to be run on your original disk (not on the backup), I would also recommend to test it on some sample directories first.
To run
alias2symlink
)chmod 755 alias2symlink
/path/to/alias2symlink alias1 alias2 ...