>>- svctask -- cleardumps -- -----------------------------------> >-- -prefix -- directory_or_file_filter -- --+-------------+--->< +- node_id ---+ '- node_name -'
This command deletes all the files that match the directory/file_filter argument on the node specified. If no node is specified, the configuration node is cleaned.
You can clean all the dumps directories by specifying /dumps as the directory argument.
You can clean all the files in a single directory by specifying one of the directory arguments.
You can clean specific files in a given directory by specifying a directory and file name. You can use an asterisk (*) as a wildcard in part of the file name.
You can list the contents of these directories on the given node by using the svcinfo lsxxxxdumps commands.
You can use this command to clean specific files in a given directory by specifying a directory or file name. The wildcard * can be used as part of the file name.
An invocation example
svctask cleardumps -prefix /dumps/configs
The resulting output
No feedback