aboutsummaryrefslogtreecommitdiff
path: root/configs/download.sh
blob: 21916fed685b29a0e4359b723e5e4f0ed9b3dd52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

# conferences
owd="$(pwd)"
cd "${0%/*}"
wd="$(pwd)"
for d in conferences/*; do
	if [ -x $d/download.sh ]; then
		echo "$d"
		cd "$d"
		./download.sh
		cd "$wd"
	fi
done
cd "$wd"

# eventkalender upcoming
echo "eventkalender"
wget -q --no-check-certificate "https://c3voc.de/eventkalender/events.json?filter=upcoming&streaming=yes" -O /tmp/upcoming.json && mv /tmp/upcoming.json upcoming.json

cd "$owd"