<div dir="ltr">
<a class="gmail-js-post-issue gmail-flex--item gmail-s-btn gmail-s-btn__unset gmail-c-pointer gmail-py6 gmail-mx-auto" href="https://gis.stackexchange.com/posts/499675/timeline" aria-label="Timeline" aria-describedby="--stacks-s-tooltip-edzqlou0"></a><div class="gmail-votecell gmail-post-layout--left"><div class="gmail-js-voting-container gmail-d-flex gmail-jc-center gmail-fd-column gmail-ai-center gmail-gs4 gmail-fc-black-300">
</div>
</div>
<div class="gmail-postcell gmail-post-layout--right">
<div class="gmail-s-prose gmail-js-post-body"><pre><code>Dear all,</code></pre></div></div>
<a class="gmail-js-post-issue gmail-flex--item gmail-s-btn gmail-s-btn__unset gmail-c-pointer gmail-py6 gmail-mx-auto" href="https://gis.stackexchange.com/posts/499675/timeline" aria-label="Timeline" aria-describedby="--stacks-s-tooltip-edzqlou0"></a><div class="gmail-votecell gmail-post-layout--left"><div class="gmail-js-voting-container gmail-d-flex gmail-jc-center gmail-fd-column gmail-ai-center gmail-gs4 gmail-fc-black-300">
</div>
</div>
<div class="gmail-postcell gmail-post-layout--right">
<div class="gmail-s-prose gmail-js-post-body">
<p>I'm working with QGIS 3.40.</p>
<p>I've set up a small QGIS modeler with several inputs, algorithms,
intermediate outputs, and a final result (model output). For the
intermediate algorithm outputs, I've defined a "pre-calculated value"
with a relative path.</p>
<p>Here 's the expression setted :</p>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><code>@project_home || '/intermediaire' || '/segmentation_raster' || '.tif'
</code></blockquote></div></div><div><br></div><div>
<p>All my intermediate outputs are stored in a folder named "intermediate". Each output file has a predefined name and extension.</p>
<p>This works. However, I would like these 'intermediate' files to be
automatically deleted/overwritten each time the modeler is run again
(delete/replace the output files from the previous run).</p>Could you give me some guidances, provide some ways to do that ? Thanks so much.</div>
</div>