Last Updated: February 25, 2016
·
341
· dawehner

Run the same shell command in multiple folders:

This is all you need:

for dir in ~/parent-folder/* ; do (cd "$dir" && your-command && cd ".."); done