From b234cc5bbe53ed48da6b201b4be68f23d3fb1a24 Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Thu, 12 Jan 2023 20:13:54 +0800 Subject: [PATCH] add seafile-ignore.txt to all git repo --- git-ignore-recursive.bat | 6 ++++-- git-pull-recursive.bat | 3 ++- git-pull-recursive.sh | 3 +++ git-push-recursive.bat | 3 ++- git-push-recursive.sh | 3 +++ git-rename-branch.sh | 4 +++- npm-boot-recursive.bat | 3 ++- npm-boot-recursive.sh | 3 +++ npm-clear-recursive.bat | 3 ++- seafile-ignore-recursive.bat | 6 ++++-- seafile-ignore-recursive.sh | 4 +++- 11 files changed, 31 insertions(+), 10 deletions(-) diff --git a/git-ignore-recursive.bat b/git-ignore-recursive.bat index b61fa0a..dc1345d 100644 --- a/git-ignore-recursive.bat +++ b/git-ignore-recursive.bat @@ -18,7 +18,8 @@ set FONPATH3=%HOMEDRIVE%%HOMEPATH%\faronear ) else if exist "%FONPATH3%" ( set FONPATH=%FONPATH3% ) else ( - echo === none of the testing path is valid. + echo ××× none of the testing path is valid. + echo; echo === Enter [fonpath] or leave [blank] for default to '.' set /p FONPATH=">>> " echo; @@ -51,7 +52,8 @@ if exist "%NIXHOME1%" ( ) else if exist "%NIXHOME5%" ( set NIXHOME=%NIXHOME5% ) else ( - echo === none of the testing path is valid. + echo ××× none of the testing path is valid. + echo; echo === Enter [nixhome path] or leave [blank] for default to '.' set /p NIXHOME=">>> " echo; diff --git a/git-pull-recursive.bat b/git-pull-recursive.bat index 124ae44..4de4654 100644 --- a/git-pull-recursive.bat +++ b/git-pull-recursive.bat @@ -18,7 +18,8 @@ set FONPATH3=%HOMEDRIVE%%HOMEPATH%\faronear ) else if exist "%FONPATH3%" ( set FONPATH=%FONPATH3% ) else ( - echo === none of the testing path is valid. + echo ××× none of the testing path is valid. + echo; echo === Enter [fonpath] or leave [blank] for default to '.' set /p FONPATH=">>> " echo; diff --git a/git-pull-recursive.sh b/git-pull-recursive.sh index b4474a3..246400c 100755 --- a/git-pull-recursive.sh +++ b/git-pull-recursive.sh @@ -5,6 +5,7 @@ FONPATH2=~/faronear.git FONPATH3=~/faronear FONPATH4=/mnt/d/faronear +echo "*** Testing [$1] [$FONPATH1] [$FONPATH2] [$FONPATH3] [$FONPATH4]" if [ "$1" ] then FONPATH=$1 @@ -21,6 +22,8 @@ elif [ -d $FONPATH4 ] then FONPATH=$FONPATH4 else + echo "××× All testing path failed." + echo "" echo "=== Enter [fonpath] or leave [blank] for default to '.'" read -p ">>> " FONPATH echo "" diff --git a/git-push-recursive.bat b/git-push-recursive.bat index 0a5b53e..48259e6 100644 --- a/git-push-recursive.bat +++ b/git-push-recursive.bat @@ -18,7 +18,8 @@ set FONPATH3=%HOMEDRIVE%%HOMEPATH%\faronear ) else if exist "%FONPATH3%" ( set FONPATH=%FONPATH3% ) else ( - echo === none of the testing path is valid. + echo ××× none of the testing path is valid. + echo; echo === Enter [fonpath] or leave [blank] for default to '.' set /p FONPATH=">>> " echo; diff --git a/git-push-recursive.sh b/git-push-recursive.sh index 0c1155b..f5b318d 100755 --- a/git-push-recursive.sh +++ b/git-push-recursive.sh @@ -5,6 +5,7 @@ FONPATH2=~/faronear.git FONPATH3=~/faronear FONPATH4=/mnt/d/faronear +echo "*** Testing [$1] [$FONPATH1] [$FONPATH2] [$FONPATH3] [$FONPATH4]" if [ "$1" ] then FONPATH=$1 @@ -21,6 +22,8 @@ elif [ -d $FONPATH4 ] then FONPATH=$FONPATH4 else + echo "××× All testing path failed." + echo "" echo "=== Enter [fonpath] or leave [blank] for default to '.'" read -p ">>> " FONPATH echo "" diff --git a/git-rename-branch.sh b/git-rename-branch.sh index 5daca01..11a5cfa 100755 --- a/git-rename-branch.sh +++ b/git-rename-branch.sh @@ -5,6 +5,7 @@ FONPATH2=~/faronear.git FONPATH3=~/faronear FONPATH4=/mnt/d/faronear +echo "*** Testing [$1] [$FONPATH1] [$FONPATH2] [$FONPATH3] [$FONPATH4]" if [ "$1" ] then FONPATH=$1 @@ -20,8 +21,9 @@ then elif [ -d $FONPATH4 ] then FONPATH=$FONPATH4 - else + echo "××× All testing path failed." + echo "" echo "=== Enter [fonpath] or leave [blank] for default to '.'" read -p ">>> " FONPATH echo "" diff --git a/npm-boot-recursive.bat b/npm-boot-recursive.bat index 2ed575a..335b0c7 100644 --- a/npm-boot-recursive.bat +++ b/npm-boot-recursive.bat @@ -18,7 +18,8 @@ set FONPATH3=%HOMEDRIVE%%HOMEPATH%\faronear ) else if exist "%FONPATH3%" ( set FONPATH=%FONPATH3% ) else ( - echo === none of the testing path is valid. + echo ××× none of the testing path is valid. + echo; echo === Enter [fonpath] or leave [blank] for default to '.' set /p FONPATH=">>> " echo; diff --git a/npm-boot-recursive.sh b/npm-boot-recursive.sh index fb4881f..7ec3459 100755 --- a/npm-boot-recursive.sh +++ b/npm-boot-recursive.sh @@ -5,6 +5,7 @@ FONPATH2=~/faronear.git FONPATH3=~/faronear FONPATH4=/mnt/d/faronear +echo "*** Testing [$1] [$FONPATH1] [$FONPATH2] [$FONPATH3] [$FONPATH4]" if [ "$1" ] then FONPATH=$1 @@ -21,6 +22,8 @@ elif [ -d $FONPATH4 ] then FONPATH=$FONPATH4 else + echo "××× All testing path failed." + echo "" echo "=== Enter [fonpath] or leave [blank] for default to '.'" read -p ">>> " FONPATH echo "" diff --git a/npm-clear-recursive.bat b/npm-clear-recursive.bat index 58f4bb3..cf5ce33 100644 --- a/npm-clear-recursive.bat +++ b/npm-clear-recursive.bat @@ -13,7 +13,8 @@ set FONPATH= ) else (if exist %HOMEDRIVE%%HOMEPATH%\faronear ( set FONPATH=%HOMEDRIVE%%HOMEPATH%\faronear ) else ( - echo === none of the testing path is valid. + echo ××× none of the testing path is valid. + echo; echo === Enter [fonpath] or leave [blank] for default to '.' set /p FONPATH=">>> " echo; diff --git a/seafile-ignore-recursive.bat b/seafile-ignore-recursive.bat index 8f62d0e..7c45cd2 100644 --- a/seafile-ignore-recursive.bat +++ b/seafile-ignore-recursive.bat @@ -18,7 +18,8 @@ set FONPATH3=%HOMEDRIVE%%HOMEPATH%\faronear ) else if exist "%FONPATH3%" ( set FONPATH=%FONPATH3% ) else ( - echo === none of the testing path is valid. + echo ××× none of the testing path is valid. + echo; echo === Enter [fonpath] or leave [blank] for default to '.' set /p FONPATH=">>> " echo; @@ -51,7 +52,8 @@ if exist "%SCRIPTHOME1%" ( ) else if exist "%SCRIPTHOME5%" ( set SCRIPTHOME=%SCRIPTHOME5% ) else ( - echo === none of the testing path is valid. + echo ××× none of the testing path is valid. + echo; echo === Enter [nixhome path] or leave [blank] for default to '.' set /p SCRIPTHOME=">>> " echo; diff --git a/seafile-ignore-recursive.sh b/seafile-ignore-recursive.sh index 2abe2ff..1e73a6e 100644 --- a/seafile-ignore-recursive.sh +++ b/seafile-ignore-recursive.sh @@ -5,7 +5,7 @@ FONPATH2=~/faronear.git FONPATH3=~/faronear FONPATH4=/mnt/d/faronear -echo "*** Testing [$FONPATH1] [$FONPATH2] [$FONPATH3] [$FONPATH4]" +echo "*** Testing [$1] [$FONPATH1] [$FONPATH2] [$FONPATH3] [$FONPATH4]" if [ "$1" ] then FONPATH=$1 @@ -22,6 +22,8 @@ elif [ -d $FONPATH4 ] then FONPATH=$FONPATH4 else + echo "××× All testing path failed." + echo "" echo "=== Enter [fonpath] or leave [blank] for default to '.'" read -p ">>> " FONPATH echo ""