Our great sponsors
-
robinhood
Robinhood Policy Engine : a versatile tool to monitor filesystem contents and schedule actions on filesystem entries.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I guess this is as good of a time as any other to remind people to use the "unofficial" Bash strict mode:
https://gist.github.com/robin-a-meade/58d60124b88b60816e8349... [^1]
And always, always, use ShellCheck (https://www.shellcheck.net/) to catch most pitfalls and common mistakes on this powerful but dangerous language that is shell scripting.
[^1]: I think this gist is better than the original article in which it is based, because the article also suggested changing the IFS variable, which is not that good of an advice, so sadly the original text becomes a bad recommendation!
Assuming this was a "scratch" HPC filesystem, as I'd guess, "scratch" is used advisedly -- users should be prepared to lose anything on it, not that it should happen with finger trouble. However, if I understand correctly from the comments, I'm surprised at the tools, and that the vendor was managing the filesystem. I'd expect to use https://github.com/cea-hpc/robinhood/wiki with Lustre, though I thought I'd seen a Cray presentation about tools of their own.
For example,take my project.
https://github.com/Mylab6/PiBluetoothMidSetup
While I could of done this in Bash.
1. I don't really like Bash
2. Python is much easier. I did challenge myself to only use Python's built in libraries, but aside from being unable to use Yaml everything works.
I can imagine in some environments you might not have access to a Python interrupter though...