it’s probably be easier in python, just because of all the robust file libs, but it’s possible in bash
Look up how to set a trap on a directory. Should get you where you need.
it’s probably be easier in python, just because of all the robust file libs, but it’s possible in bash
Look up how to set a trap on a directory. Should get you where you need.