Learning first hand from rm mistakes is usually best done early in one's *nix adventure. ;-)
Glad you got it sorted.
@R-H133 glad to hear it all worked out!
@zembrowski You can probably have a script to trigger a new photo and use file exec to run the script. I think the method you outlined above will work, can't really think of a better way :)
Looks like your connection to Community was lost, please wait while we try to reconnect.