Currently, when I write to a log file it appends the file if it exists.
Is it possible to overwrite the file instead?
Do not append log file?
Re: Do not append log file?
No, but you can do an rm /path/to/log in the script that calls filebot. 
EDIT: del on Windows

EDIT: del on Windows
Re: Do not append log file?
Eh, you mean to simply delete the file before it is written again?rednoah wrote:No, but you can do an rm /path/to/log in the script that calls filebot.
EDIT: del on Windows
Re: Do not append log file?
Pretty much. Do you have any objections with that? 

Re: Do not append log file?
That will probably work. I had actually planned to do exactly that in my "Automate" script that runs the Filebot suball script.rednoah wrote:Pretty much. Do you have any objections with that?
I just wondered if there was a flag to overwrite the file rather than append so that a delete would not be needed..
No problem. I will delete the file instead (which will happen multiple times in a loop as I cycle through the shows)