fix2
This commit is contained in:
@@ -1,36 +0,0 @@
|
|||||||
#!/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
|
|
||||||
Reference in New Issue
Block a user