You can use wildcards in the SAN Volume Controller Command-Line Interface.
The shell will attempt to interpret any of the special characters if they are not escaped (preceded with a backslash character). Wildcards will be expanded into a list of files if any files exist that match the wildcards. If no matching files exist, the wildcard is passed to the SAN Volume Controller command untouched.
svctask cleardumps -prefix '/dumps/*.txt' with single quotation marks
(''), or
svctask cleardumps -prefix /dumps/\*.txt using a backslash (\), or
svctask cleardumps -prefix "/dumps/*.txt" with double quotation marks
("").
This method is slightly more complicated because the host shell processes the command line before it is passed through SSH to the shell on the cluster. This means an extra layer of protection is required around the wildcard as the host shell will strip off any protecting quotes, and if the wildcard is exposed to the cluster shell, this will result in the wildcard being expanded in the cluster shell.
svctask cleardumps "'/dumps/*.txt'" with single quotation marks ('')
inside of double quotation marks (""), or
svctask cleardumps '/dumps/\*.txt' using a backslash (\) inside of
single quotation marks (''), or
svctask cleardumps '"/dumps/*.txt"' with double quotation marks ("")
inside of single quotation marks ('').