Back in the 7mode days we had a script to delete some files on a volume using rm command like following example (diag console)
After moving to clustered ontap we are unable to run the same scripts, this is understandable as commands have changed. But I have been unable to find a way to delete files from console. Why I need such a way is because I was deleting the files while they are being used.
There is no rm, ls, mv commands in cluster shell. They do seem to be there in node run but rm command throwing error:
priv set diag
/vol/volname/filename : Undefined Error : 280
Is there anyway to delete/rename files which are in use using cluster shell or any other method?