[Pythonmac-SIG] move/rename files w resource forks

Mark Asbach mark.asbach at post.rwth-aachen.de
Mon Nov 15 18:56:41 CET 2004


Hi again,

>     mv somefile newdirectory/
>     test -d somefile/RSRC || mv somefile/RSRC newdirectory/

Sorry, it should be:

	mv somefile newdirectory/
	test -e somefile/RSRC || mv somefile/RSRC newdirectory/

Yours,

Mark



More information about the Pythonmac-SIG mailing list