Initial commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/pics
|
11
downloader.sh
Executable file
11
downloader.sh
Executable 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
|
Reference in New Issue
Block a user