Files
zShared/sbin/GitClone
USER 2831331e93 .
2023-03-27 21:22:22 +01:00

30 lines
345 B
Bash
Executable File

#!/bin/sh
#
echo "SCRIPT $0 starting"
MYNAME=`uname -n`
ZZ=/zz
REPO='zPublic zShared'
KEYS=
if [ ! -d ${ZPC} ]
then
mkdir ${ZPC}
fi
REPOSITE=https://mint.nopenso.com/mirror
for i in `ls ${ZZ}`
do
echo $i
if [ ! -d ${ZPC}/$i ]
then
echo $i
cd ${ZPC}
git clone ${REPOSITE}/${i}.git
fi
done
exit 0