I have these results from find:
$ find subprojects -mindepth 1 -maxdepth 1 subprojects/install-globally-first subprojects/installation-test-project-custom-config subprojects/install-via-github subprojects/init-from-nothing subprojects/node-path-test subprojects/install-globally-with-nvm subprojects/installation-test-project subprojects/parallel-installs-of-suman
I want to map these results to:
subprojects/install-globally-first/test.sh subprojects/installation-test-project-custom-config/test.sh subprojects/install-via-github/test.sh subprojects/init-from-nothing/test.sh subprojects/node-path-test/test.sh subprojects/install-globally-with-nvm/test.sh subprojects/installation-test-project/test.sh subprojects/parallel-installs-of-suman/test.sh
(All I am doing in this case is appending "/test.sh" to the results... I am sure a good solution is something like:
$ find subprojects -mindepth 1 -maxdepth 1 | something (?)
but I don't know what it would be! Pretty newby here. Probably more than one way to do it, looking for simplest most robust solution I guess.
Note that since the test.sh files already exist in these paths, I could just to do this:
find subprojects -mindepth 2 -maxdepth 2 -name "test.sh"
But I guess I am looking for away to do that, assuming these test.sh files don't exist yet on the filesystem.