Rapid-Delete-Pro
Rapid-Delete-Pro copied to clipboard
Unattended Delete
Can you add a means (command line switch?) to eliminate the "confirm" and "re-confirm" especially when using rdpro.bat on windows? It's a great tool but I really want to use it in an automated fashion.
yes. you can use -f -yes parameter to make it silent. it is an undocumented feature. use with care.
ex: a macro defined in the ant script for invoking the rdpro from the ant script.
<macrodef name="mydelete">
<attribute name="dir"/>
<attribute name="target" default=""/>
<sequential>
<java dir="${dev.bin}" jar="${root.dir}/dist/lib/rdpro-console.jar" fork="true">
<arg line="-f -yes @{dir}"/>
<arg line="-d @{target}"/>
</java>
</sequential>
</macrodef>