Last Updated: February 25, 2016
·
320
· 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