Initial commit

This commit is contained in:
2019-09-21 22:25:12 +02:00
parent 9ff503c1f1
commit 6ac0c52f3e
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/pics

11
downloader.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
# create dir if it doesn't exist
mkdir -p pics/oase01
while :
do
currenttime=`date +"%Y-%m-%d_%T"`
wget https://campingoase.cz/kamera/oase_01000M.jpg -O "pics/oase01/$currenttime.jpg"
sleep 59
done