[OFF] Python, how to copy file with res fork

Ruslan Zasukhin sunshine at public.kherson.ua
Fri May 30 18:35:16 CDT 2003


on 5/30/03 6:15 PM, Stephan Huber at ratzfatz at digitalmind.de wrote:

> 
> 
> --On Freitag, 30. Mai 2003 17:30 Uhr +0300 Ruslan Zasukhin
> <sunshine at public.kherson.ua> wrote:
> 
>> Anybody know how make Python copy such files correctly ?
> 
> You can invoke ditto from python. ditto is a clt which is capable copying
> files with resourcefork, add -rsrcFork as parameter. See the man-page for
> more details.
> 
> a la:
> 
> system("/usr/bin/ditto -rsrcFork /path/to/source/file
> /path/to/destination");

Thank you Stephan 


> I am not sure, if ditto is part of the bsd-subsystem, or part of the
> developer-tools. Anybody?

For ne no difference. I use it on my computer


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list