7 lines
477 B
Bash
Executable file
7 lines
477 B
Bash
Executable file
#!/bin/bash
|
|
echo "Выполнение скриптов в параллельном режиме и создание репозиториев для каталогов проектов."
|
|
cd ..
|
|
milliseconds=$(date '+%s%3N')
|
|
find .. -mindepth 1 -maxdepth 1 -type d -printf \
|
|
'cd %h/%f && ./.repo_remote.sh >/dev/null && ./.repo_local.sh >/dev/null\0' | xargs -L1 -0 -P0 bash -c
|
|
echo "Общее время выполнения: $(("$(date '+%s%3N')" - "$milliseconds")) мс."
|