From 80dd9573337c0fdf9113d4663dad967e18fcdf1c Mon Sep 17 00:00:00 2001 From: zj <1052308357@qq.com> Date: Sun, 23 Nov 2025 22:14:18 +0800 Subject: [PATCH] fix --- .gitignore | 8 ++++---- 1-get-all-alci-gits-v1.sh | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 4 deletions(-) create mode 100755 1-get-all-alci-gits-v1.sh diff --git a/.gitignore b/.gitignore index e826d17..4153d41 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -*.pkg.tar.zst -*.zip -pkg/ -src/ +/*.pkg.tar.zst +/*.zip +/pkg/ +/src/ diff --git a/1-get-all-alci-gits-v1.sh b/1-get-all-alci-gits-v1.sh new file mode 100755 index 0000000..506e2a3 --- /dev/null +++ b/1-get-all-alci-gits-v1.sh @@ -0,0 +1,36 @@ +#!/bin/bash +# +################################################################################################################## +# Written to be used on 64 bits computers +# Author : Erik Dubois +# Website : http://www.erikdubois.be +################################################################################################################## +################################################################################################################## +# +# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK. +# +################################################################################################################## + +echo "This gets all the existing githubs at once" +echo "Fill the array with the original folders first" + +# use ls -d */ > list to get the list of the created githubs and copy/paste in + +directories=( +tms-calamares-config/ +tms-grub-theme/ +tms-arch-linux-calamares-installer/ +tms-calamares/ +) + +count=0 + +for name in "${directories[@]}"; do + count=$[count+1] + tput setaf 1;echo "Github "$count;tput sgr0; + # if there is no folder then make one + git clone http://192.168.10.207:3000/zj/$name + echo "#################################################" + echo "################ "$(basename `pwd`)" done" + echo "#################################################" +done