On Aug 18, 2006, at 1:28 PM, Arnaud Nicolet wrote:


Le 18 août 06 à 17:49 Soir, Jonathan Johnson a écrit:

Actually, as of 10.4, nearly every command line tool now preserves resource forks and HFS data. This includes, tar, cp, zip, etc.

I'm glad to see someone whos knows about that.
I'd like to ask something: is it possible, now with 10.4, to avoid copying HFS data?

My problem: I've made an app to copy ".mp3" files to an Mp3 drive. Since this drive is NTFS formatted, I had to copy only the data (using CopyFileTo also copies resfork and metadata), so I used the cp command. As you can imagine, it doesn't work anymore with MaxOS 10.4 (where the Finder replaces my app).

Yes. The tools that support this mention how to do this in the man pages ("man cp"). In this case, it appears the -X option will turn off resource fork and "Extended Attributes" copying. That should do what you're looking for.

HTH,
Jon


--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to