<div dir="ltr">I am crafting a script (well actually I am modifying gcron.py) to retain a configurable number of Hourly, Daily,Weekly and Monthly snapshots.  One issue is that gluster snapshot delete &quot;snapname&quot; does not seem to have a command line switch (like &quot;-y&quot; in yum) to attempt the operation non-interactively.  Is there another way of performing this that is more friendly to non-interactive use?  From the shell I can pipe &quot;yes&quot;  to the command but my python fu is weak so I thought I&#39;d ask if there was a simpler way.<div><br></div><div>Thanks, Alastair</div><div><br><div><br></div><div><br></div></div></div>