Moved github script

This commit is contained in:
2021-02-14 11:09:39 -05:00
parent 520bfcea7b
commit 9743596f5d

43
sbin/github-load.sh Executable file
View File

@ -0,0 +1,43 @@
#!/bin/sh
# directories
cd $HOME
mkdir bin misc tmp Projects Gits
# ProbeStar stuff
mkdir -p ProbeStar
cd ProbeStar
for i in Cnomicon Cybersecurity KnowledgeBase linux_tools pi_tools Pynomicon Radio Robotics Software windows_tools
do
echo "ProbeStar: $i"
if [ -d $i ]; then
rm -rf $i
fi
git clone https://github.com/nprobert/$i
cd ..
ln -fs ProbeStar/$i
cd ProbeStar
done
rm -rf CyberSecurity Database
cd $HOME
cp linux_tools/bin/* ~/bin
# NTCNA stuff
cd $HOME
mkdir NTCNA
cd NTCNA
for i in CInfrastructure CVehicle PyVehicle RosVehicle
do
echo "NTCNA: $i"
if [ -d $i ]; then
rm -rf $i
fi
git clone https://github.com/nprobert/$i
done
cd $HOME
for i in CInfrastructure CVehicle NissanV2X PyVehicle ProberN RosVehicle
do
ln -fs NTCNA/$i $i
done
exit 0