Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Symbolic links, paths, and rsync's -l option' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Symbolic links, paths, and rsync's -l option
Authored by: LC on Apr 22, '05 01:41:03PM
Note: rsync's -a (same as --archive) option turns on the -l switch, i.e. it implies/includes/activates -l. Most often when folks use this utility, the -a is chosen (my second-most-used options have been -H and -u).

Also, in general when we create symlinks, they should always be composed relatively; the only exception to that in my experience has been a symlink which needs to refer to a different volume (filesystem) ... in which case it's got to be absolute (an NFS-rooted pathname, etc.) Larry. (Note: for OS X we need to have the resource-fork-capable rsync such as hfsrsync; http://hfsrsync.darwinports.com)

[ Reply to This | # ]

rsyncx
Authored by: xdavid on Apr 22, '05 04:02:04PM

Is hfsrsync different again from rsyncx?



[ Reply to This | # ]
rsyncx
Authored by: LC on Apr 27, '05 02:25:39PM
I guess not -- they seem to use the same source code (at OpenDarwin) for rsync, although I believe these are different packaging styles (i.e. the installation and package file placement). I didn't see a page for rsyncx under the new blog format at macosxlabs.org ... but their rsyncx main page is still available at this page.

For more basic (non-sync) transfers (including the resource forks), I use ditto --rsrc or sometimes Helios xtar. And, I'm setting up netatalk on my Linux system at home, to make some sort of AFP-geared backup system; Larry.

[ Reply to This | # ]