Flatten Code directories

This commit is contained in:
Oliver Davies 2024-07-06 00:00:00 +01:00
parent 766a35d27e
commit d769885d8f
5 changed files with 6 additions and 6 deletions

View file

@ -6,7 +6,7 @@
set -o errexit
set -o nounset
dirs=$(find ~/Code/personal ~/Code/work -mindepth 1 -maxdepth 2 -type d -name .git -not -path '*/*.old/*')
dirs=$(find ~/Code -mindepth 1 -maxdepth 2 -type d -name .git -not -path '*/*.old/*')
for dir in $dirs; do
repo_path="${dir%/.git}"