Month: March 2023

How to search and execute in sub-directories via shell script

This post shows a way how to execute scripts in all sub directories via a script. There are many use cases for this, I use it to automate stop/build/start of arbitrary docker containers on one of my servers. In this way I can setup automated server maintenance jobs (e.g. via jenkins) and startup everything without knowing what is deployed on the server.