[Mac] file copy
Philip Semanchuk
philip at semanchuk.com
Tue Jun 23 12:35:31 EDT 2009
On Jun 23, 2009, at 12:20 PM, Tobias Weber wrote:
> In article <mailman.2013.1245770022.8015.python-list at python.org>,
> Philip Semanchuk <philip at semanchuk.com> wrote:
>
>> I think resource forks are now stored as extended attributes, and
>
> No
I'll take your word for it because I was just guessing, but then why
do the xattrs in the example I gave show a resource fork?
>
>> Apple's version of cp is aware of extended attributes.
>
> Yes, but the manual doesn't say to what extent, nor anything about
> ACLs
Your original question didn't say anything about ACLs either.
>> To the OP -- I remember reading somewhere that xattr is written in
>> Python. You might find it useful or even be able to import it
>> directly.
>
> It uses a C extension, but I could import it if I wanted to re-invent
> the wheel ;)
Isn't importing a module that's already written the exact opposite of
re-inventing the wheel?
More information about the Python-list
mailing list