Build.File - delete

Description

Deletes a file or directory from the system, so be careful!

Parameters

Table 10. Parameters

Attribute Type Description Required
file string The file to delete. false
path string The folder to delete. Deletes folders recursively!. false
if bool If true, the task will be executed, otherwise it will be skipped. The default is true. False
unless bool The opposite of if. If false, the task will be executed, otherwise it will be skipped. The default is false. False