BASH: Make the same files tree with other extension

… using ‘find’. The issue is making same tree files in other directory with other extension,
in my case is making js-behaviors tree for templates.
Also have a two directories assets/app/dialogs (current directory) and templates/dialogs.
Prepare current directory. Next shell make the same directory tree:
$ find ../../../templates/dialogs/ -mindepth 1 -type d \ -exec sh -c "mkdir -p \${0:27}" {} \;
Continue reading