ha, true! I was just looking for the right way to do it.
On Nov 19, 2013, at 9:22 AM, Nathan Rusch <[email protected]> wrote:
> Hey, I never said putting your cache in your home directory was a good
> idea... (especially if you use server-based user profiles). :P
>
> -Nathan
>
>
> From: Julik Tarkhanov
> Sent: Tuesday, November 19, 2013 9:18 AM
> To: Nuke user discussion
> Subject: Re: [Nuke-users] [NUKE_TEMP DIR]
>
> totally!
> Or even better, the way I do it
>
> # Use the RAID for caches if available
> RAIDS = ("/Volumes/FASZT", "/Volumes/SUPERFASZT")
> raid_found = False
> for volume in RAIDS:
> if os.path.exists(volume):
> os.environ["NUKE_TEMP_DIR"] = os.path.join(volume, "NukeCache")
> raid_found = True
>
> if not raid_found:
> nuke.message("No RAID found, your cache will suck and everything will be
> SLOW”)
>
> --
> Julik Tarkhanov | HecticElectric | Keizersgracht 736 1017 EX
> Amsterdam | The Netherlands | tel. +31 20 330 8250
> cel. +31 61 145 06 36 | http://hecticelectric.nl
>
> On 19 Nov 2013, at 16:02, Gary Jaeger <[email protected]> wrote:
>
>>
>> On Fri, Nov 15, 2013 at 6:56 PM, Nathan Rusch <[email protected]>
>> wrote:
>> os.environ['NUKE_TEMP_DIR'] = os.path.expanduser('~/nuke')
>>
>> So money! thank you, sir
>
>
>
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
Gary Jaeger // Core Studio
249 Princeton Avenue
Half Moon Bay, CA 94019
650 728 7060
http://corestudio.com
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users