Re: ditto in ObjC or C
Re: ditto in ObjC or C
- Subject: Re: ditto in ObjC or C
- From: Graham J Lee <email@hidden>
- Date: Tue, 3 May 2005 08:28:36 +0100
On 3 May 2005, at 08:05, Rémy Schumm wrote:
I'm copying a File with java - of course, the resource fork gets lost
(e.g. the thumbnail-image on a Photoshop-File).
The "ditto" command-line-tool does exactly what I want: ditto --rsrc
copies with resource.
Question: is there some ObjC or C function somewhere that I could use
for this, e.g. access via JNI?
You could open "/path/to/file/..namedfork/rsrc" IIRC.
--
Graham Lee GPG Key ID: 01D5B9D8
UNIX Systems Manager, Oxford Physics Practical Course
Coordinator, UKUUG Apple SIG (email@hidden)
Technical bod, Oxford Mac Users' Group (http://www.oxmug.org)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden