POV-Ray : Newsgroups : povray.windows : feature request: disable file overwrite Server Time
23 Nov 2024 09:47:53 EST (-0500)
  feature request: disable file overwrite (Message 11 to 14 of 14)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Thomas de Groot
Subject: Re: feature request: disable file overwrite
Date: 26 Jan 2017 03:49:19
Message: <5889b80f$1@news.povray.org>
On 25-1-2017 16:52, Stephen wrote:
> On 1/25/2017 2:12 PM, clipka wrote:

>> Hey, that's _my_ line ;)
>>
>
> How much are the royalties?
>
> And hay is for horses. ;)
>

[Ah. Another example of gray/grey...]

-- 
Thomas


Post a reply to this message

From: Stephen
Subject: Re: feature request: disable file overwrite
Date: 26 Jan 2017 04:16:20
Message: <5889be64$1@news.povray.org>
On 1/26/2017 8:49 AM, Thomas de Groot wrote:
> On 25-1-2017 16:52, Stephen wrote:
>> On 1/25/2017 2:12 PM, clipka wrote:
>
>>> Hey, that's _my_ line ;)
>>>
>>
>> How much are the royalties?
>>
>> And hay is for horses. ;)
>>
>
> [Ah. Another example of gray/grey...]
>

No not this time. ;-)
http://grammarist.com/homophones/hay-vs-hey/

It is a rejoinder. The follow up is:

Oi!

Oi is for 'orses


Sorry, I can only remember primary school jokes. ;-)

-- 

Regards
     Stephen


Post a reply to this message

From: Sherry K  Shaw
Subject: Re: feature request: disable file overwrite
Date: 27 Jan 2017 03:46:49
Message: <588b08f9$1@news.povray.org>
clipka wrote:
>
> Hm... this has me thinking: Maybe a smarter way would be to allow
> certain placeholders in the file name, which would be replaced by the
> current date and/or time when the render was started (first frame in
> case of an animation sequence).
>
> This would entirely avoid the hassle of checking whether a file of the
> same name already exists, and yet provide a convenient way to prevent
> accidental overwriting of existing output files.
>

Might something like this be implemented as an INI file option?  Perhaps 
to rename the file (including date and time) at the end of the render, 
or possibly to make a backup copy?  The concept strikes me as rather 
INI-ish.

Just a couple of insomniac thoughts...

--Sherry Shaw

-- 
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}//                                   TenMoons


Post a reply to this message

From: clipka
Subject: Re: feature request: disable file overwrite
Date: 27 Jan 2017 06:52:46
Message: <588b348e$1@news.povray.org>
Am 27.01.2017 um 09:47 schrieb Sherry K. Shaw:
> clipka wrote:
>>
>> Hm... this has me thinking: Maybe a smarter way would be to allow
>> certain placeholders in the file name, which would be replaced by the
>> current date and/or time when the render was started (first frame in
>> case of an animation sequence).
>>
>> This would entirely avoid the hassle of checking whether a file of the
>> same name already exists, and yet provide a convenient way to prevent
>> accidental overwriting of existing output files.
>>
> 
> Might something like this be implemented as an INI file option?  Perhaps
> to rename the file (including date and time) at the end of the render,
> or possibly to make a backup copy?  The concept strikes me as rather
> INI-ish.

Post-frame shell-out (`Post_Frame_Command=...`) should be able to do
this. It would be specific to a particular operating system though.

It should also be possible to use pre-frame shell-out
(`Pre_Frame_Command`) to back up an existing file of the same name.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.