From: Greg Ercolano <erco@(email surpressed)>
Subject: [Q+A] Nuke cross platform pathnames
   Date: Tue, 22 Jun 2010 19:39:33 -0400
Msg# 1943
View Complete Thread (12 articles) | All Threads
Last Next
> When I submit a Nuke scene file created on a Mac, the artist
> has to change the path within nuke from /myserver/share to //myserver/share
> in order for the render to be successful on both Mac and Windows machines.
> We are using the FixPath() function in the rushscripts/.common.pl
> but that doesn't seem to affect pathnames within the Nuke scripts.
>
> Is there a way to configure Nuke to make these changes automatically?

	Yes; short answer is to see Nuke's own 'customizing' documentation
	on handling file paths across platforms.

	I'm almost sure the nuke documenation is wrong with respect to those
	backslashes, ie: "p:\" probably needs to be e.g. "p:\\".

	But you can probably use front slashes and avoid the whole 'backslash
	as an escape character' problem, which is typical in just about all languages
	including python, perl, C, Java, and all the shells.

Last Next