By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,965 Members | 1,690 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,965 IT Pros & Developers. It's quick & easy.

file copy shutil

P: n/a
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.
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
he*******@hotmail.com (Joe) writes:
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

--
Usenet is like a herd of performing elephants with diarrhea --
massive, difficult to redirect, awe-inspiring, entertaining, and
a source of mind-boggling amounts of excrement when you least
expect it. -- spaf (1992)
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.