ORCHADMIN command - nitty gritty
Posted: Wed Apr 27, 2016 7:58 am
Hi all
By now I've understood why the orchadmin command should be used to delete datasets and why we shouldn't go for the kill with an rm command.
However I have a few follow up questions which I hope someone here can help me out with:
1) Is the orchadmin rm command only for datasets or filesets as well? Any other types other than these 2?
2) Can I use this command to delete datasets from all subdirectories of a certain directory - without removing the actual subdirectories as well?
3) Can I use this command to delete datasets from all subdirectories of a certain directory except a certain one (which I'd ideally filter out) - without removing the actual subdirectories as well?
My problem actually is - I have a LOT of unused datasets in around a 100 subdirectories mostly created by obsolete projects which i need to remove else my new interfaces are not working because of lack of disk space (as shown by a df -k command) and thus I need to free up space.
Thanks
Tony
By now I've understood why the orchadmin command should be used to delete datasets and why we shouldn't go for the kill with an rm command.
However I have a few follow up questions which I hope someone here can help me out with:
1) Is the orchadmin rm command only for datasets or filesets as well? Any other types other than these 2?
2) Can I use this command to delete datasets from all subdirectories of a certain directory - without removing the actual subdirectories as well?
3) Can I use this command to delete datasets from all subdirectories of a certain directory except a certain one (which I'd ideally filter out) - without removing the actual subdirectories as well?
My problem actually is - I have a LOT of unused datasets in around a 100 subdirectories mostly created by obsolete projects which i need to remove else my new interfaces are not working because of lack of disk space (as shown by a df -k command) and thus I need to free up space.
Thanks
Tony