Guest User

Untitled

a guest
Oct 23rd, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # One liner style
  2. # find all directory with name "*myDirectoryCommonName*", go in the directory, launch commands, repeat
  3. for D in `find . -maxdepth 1 -type d | grep myDirectoryCommonName`; do cd "${D}" && git pull && ./app/bin/2017-06-migration.sh && cd ..; done
Add Comment
Please, Sign In to add comment