@@ -54,7 +54,11 @@ echo "copy done"
5454
5555echo " Install ben's scripts..."
5656echo " create symlink..."
57- find /usr/bin/ben_script -type f \( -name " *.sh" -o -name " *.py" \) ! -path " *./git/*" ! -path " */install.sh" ! -path " */uninstall.sh" ! -path " */Bash-Snippet/*" ! -path " */git-scripts/*" ! -path " */git-extras/*" ! -path " */git-extra-commands/*" ! -path " */cryptr/*" ! -path " */others-dist/*" ! -path " */bash-scripts/*" ! -path " */fff/*" ! -path " */shell-scripts/*" -print0 | xargs -0 -P$( nproc) -I{} sudo ln -s {} /usr/bin || true
57+ find /usr/bin/ben_script -type f \( -name " *.sh" -o -name " *.py" \) ! -path " *./git/*" \
58+ ! -path " */install.sh" ! -path " */uninstall.sh" ! -path " */Bash-Snippet/*" \
59+ ! -path " */git-scripts/*" ! -path " */git-extras/*" ! -path " */git-extra-commands/*" \
60+ ! -path " */cryptr/*" ! -path " */others-dist/*" ! -path " */bash-scripts/*" ! -path " */fff/*" \
61+ ! -path " */shell-scripts/*" -print0 | xargs -0 -P$( nproc) -I{} sudo ln -s {} /usr/bin || true
5862echo " create symlink done"
5963echo " Install ben's scripts done"
6064
@@ -79,27 +83,32 @@ sudo make install
7983echo " Install fff done"
8084
8185echo " Install git-scripts..."
82- find /usr/bin/ben_script/git-scripts -type f -name " git-*" ! -path " *./git/*" -print0 | xargs -0 -P$( nproc) -I{} sudo ln -s {} /usr/bin || true
86+ find /usr/bin/ben_script/git-scripts -type f -name " git-*" \
87+ ! -path " *./git/*" -print0 | xargs -0 -P$( nproc) -I{} sudo ln -s {} /usr/bin || true
8388echo " Install git-scripts done"
8489
8590echo " Install git-extra-commands..."
86- find /usr/bin/ben_script/git-extra-commands/bin -type f -name " *" ! -path " *./git/*" -print0 | xargs -0 -P$( nproc) -I{} sudo ln -s {} /usr/bin || true
91+ find /usr/bin/ben_script/git-extra-commands/bin -type f -name " *" \
92+ ! -path " *./git/*" -print0 | xargs -0 -P$( nproc) -I{} sudo ln -s {} /usr/bin || true
8793echo " Install git-extra-commands done"
8894
8995echo " Install cryptr..."
9096ln -s /usr/bin/ben_script/cryptr/cryptr.bash /usr/bin/cryptr
9197echo " Install cryptr done"
9298
9399echo " Install others-dist..."
94- find /usr/bin/ben_script/others-dist/Scripts -type f -name " *.sh" ! -path " *./git/*" -print0 | xargs -0 -P$( nproc) -I{} sudo ln -s {} /usr/bin || true
100+ find /usr/bin/ben_script/others-dist/Scripts -type f -name " *.sh" \
101+ ! -path " *./git/*" -print0 | xargs -0 -P$( nproc) -I{} sudo ln -s {} /usr/bin || true
95102echo " Install others-dist done"
96103
97104echo " Install shell-scripts..."
98- find /usr/bin/ben_script/shell-scripts/Scripts -type f -name " *.sh" ! -path " *./git/*" -print0 | xargs -0 -P$( nproc) -I{} sudo ln -s {} /usr/bin || true
105+ find /usr/bin/ben_script/shell-scripts -type f -name " *.sh" \
106+ ! -path " *./git/*" -print0 | xargs -0 -P$( nproc) -I{} sudo ln -s {} /usr/bin || true
99107echo " Install shell-scripts done"
100108
101109echo " Install bash-scripts..."
102- find /usr/bin/ben_script/bash-scripts -type f -name " *.sh" ! -path " *./git/*" -print0 | xargs -P$( nproc) -0 -I{} sudo ln -s {} /usr/bin || true
110+ find /usr/bin/ben_script/bash-scripts -type f -name " *.sh" \
111+ ! -path " *./git/*" -print0 | xargs -P$( nproc) -0 -I{} sudo ln -s {} /usr/bin || true
103112echo " Install bash-scripts done"
104113
105114echo " Remove *.sh ..."
0 commit comments