[shell] add a script to execute a command in all of subdirs