Files
zShared/sbin/GitPull
USER 486a34c2bf .
2023-03-27 21:25:03 +01:00

30 lines
311 B
Bash
Executable File

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