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

29 lines
299 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}/$i; git pull)
fi
done
exit 0