Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Does rsync copy resource forks?

Does rsync copy resource forks?
Thread Tools
Mac Enthusiast
Join Date: Jan 2001
Location: Leesburg, Virginia
Status: Offline
Reply With Quote
Jun 24, 2003, 09:54 AM
 
The O'Reilly book "Mac OS X Hacks" by R. Dornfes & K. Hemenway suggests to use rsync to back up directories from one location to another. In one example the rsync operation even goes from one volume to another. It had been my impression that the standard Unix commands, including cp, mv, etc., copy resource forks only if the copy is within the same volume. Hence Apple supplies CpMac. Doesn't this restriction also apply to the rsync command?

Dominik Hoffmann
     
Mac Enthusiast
Join Date: Nov 2001
Location: Adelaide, South Australia
Status: Offline
Reply With Quote
Jun 24, 2003, 08:29 PM
 
Yep: rsync won't touch your resource forks. To get the equivalent functionality while respecting the resource forks you'll probably want something like rsyncX, which is available from macosxlabs.org

http://macosxlabs.org/rsyncx/rsyncx.html

[[Warning: I haven't used it much for over a year, so consider this a pointer rather than a recommendation!]]

Cheers,
Paul
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:04 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2