Using the "dirscan" probe on a Linux robot, we have a profile that looks for a certain file extension and file size.
It manages to find the file of with the size and extension (even generates an alarm), but it is not deleting the file.
Under the "Size" tab in the command line, we are using: rm *.hprof
What is the correct syntax to delete files using the "dirscan" probe on a Linux robot?
Use the "-f" parameter for the "rm" command and also put the full path of the directory.
For example: rm -f /path/to/directory/*.hprof