RemoveFiles
RemoveFiles deletes the given files and directories. If available "srm" is used, otherwise RemoveFiles falls back to "rm"
Example:
{
"type": "RemoveFiles",
"options": {
"files": [
"/home/user/secrets.txt"
],
"directories": [
"/home/user/.gpg",
"/home/user/.ssh",
"/home/user/.thunderbird"
]
}
}
Options:
files
list of absolute paths of files that should be deleted.
Type: []string
Default: ""
directories
list of absolute paths of directories that should be deleted.
Type: []string
Default: ""