file copy shutil

J

Joe

I see this on python.org

"Caveat: On MacOS, the resource fork and other metadata are not used.
For file copies, this means that resources will be lost and file type
and creator codes will not be correct."

Is there a way to copy files correctly on BOTH Mac and Windows? I am
trying to write a utility that will work on both platforms identically
since I am in a mixed environment network. Thanks.
 
M

Michael Hudson

I see this on python.org

"Caveat: On MacOS, the resource fork and other metadata are not used.
For file copies, this means that resources will be lost and file type
and creator codes will not be correct."

Is there a way to copy files correctly on BOTH Mac and Windows? I am
trying to write a utility that will work on both platforms identically
since I am in a mixed environment network. Thanks.

Look at distutils.file_util (or someting like that...)

Cheers,
mwh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top