This commit is contained in:
Luk Lu
2023-10-14 12:27:28 +08:00
parent 402f78ff13
commit 4ddc1b2057
2 changed files with 13 additions and 9 deletions

View File

@@ -22,10 +22,6 @@ else
echo "√√√ FONPATH = [[$FONPATH]]"
fi
cd $FONPATH
echo "*** Starting from [[`pwd`]] ***"
echo ""
echo "=== Enter [path-to-seafile-ignore.txt]"
read -p ">>> " SFIGNOREPATH
echo ""
@@ -35,6 +31,10 @@ then
exit
fi
cd $FONPATH
echo "*** Starting from [[`pwd`]] ***"
echo ""
find . -mindepth 1 -maxdepth 3 -type d -name '[^.]*' | grep -E -v 'node_modules uni_modules .deploy_git .git .svn .vscode unpackage _webroot _logstore _datasotre _archive _filestore _ssl' | while read repo
do
if [ -d "$repo/.git" ]