Removed obsolete scripts
This commit is contained in:
@ -1,48 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# directories
|
||||
cd $HOME
|
||||
mkdir bin misc tmp Projects Gits
|
||||
|
||||
# remember token
|
||||
git config --global credential.helper cache
|
||||
echo "97453163f195ae988657fc1ef4943bddd08705a9"
|
||||
|
||||
# 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
|
||||
rm CyberSecurity Database
|
||||
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
|
||||
@ -1,34 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
GITHUB=https://github.com/nprobert
|
||||
PSTAR=https://www.probestar.com/NTCNA-TP
|
||||
|
||||
for i in *
|
||||
do
|
||||
echo "$i: "
|
||||
if [ -d $i ]; then
|
||||
cd $i
|
||||
git ls-remote --get-url | grep www.probestar.com
|
||||
if [ "$?" -eq "0" ]; then
|
||||
cd ..
|
||||
continue
|
||||
fi
|
||||
cd ..
|
||||
fi
|
||||
if [ ! -d $i.git ]; then
|
||||
git clone --mirror $GITHUB/$i.git
|
||||
cd $i.git
|
||||
git remote add new $PSTAR/$i.git
|
||||
git push --mirror new
|
||||
cd ..
|
||||
rm -rf $i.git
|
||||
fi
|
||||
if [ -d $i ]; then
|
||||
cd $i
|
||||
git remote set-url origin $PSTAR/$i.git
|
||||
git pull --recurse-submodules
|
||||
cd ..
|
||||
else
|
||||
git clone $PSTAR/$i.git --recursive
|
||||
fi
|
||||
done
|
||||
@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
PSTAR=https://www.probestar.com/PStar
|
||||
|
||||
for i in *
|
||||
do
|
||||
if [ -d $i ]; then
|
||||
cd $i
|
||||
git remote set-url origin $PSTAR/$i.git
|
||||
git pull --recurse-submodules
|
||||
cd ..
|
||||
else
|
||||
git clone $PSTAR/$i.git --recursive
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user