Delete file command

Deletes a single or multiple files from the device storage. Use the File transfer widget to identify the device folder and file name.

Parameters

Name Type Possible values Description

Device ID*

Device

 

The device for this command. By default, this is the device under test (DUT).

Device file*

String

 

The device file path, including root and file name, where the file is located. The root can be phone or card.

Example path for deleting a single file: phone:/images/myImage.jpg

To delete all files in a folder, use a wildcard.

To view the device file system, log in to Perfecto and use the File Transfer option.

Comment

String

 

Adds a comment to the script

On-fail Result*

Condition

Ignore | Break | Continue | Abort | Catch

The behavior when the command fails.

* Mandatory parameter