This commit is contained in:
fossilfranv 2023-02-03 02:12:05 +01:00
parent 9640da1acf
commit 7d4d54ae76

13
backup_calendars.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash
DATE=`date +"%d-%m-%Y"`
NAME=next
url="https://next.franv.site/remote.php/dav/calendars/fossilfranv/next-1/?export"
user=fossilfranv
pwd="Yaounde471&#"
wget \
--quiet --output-document="/home/franv/calendars/$DATE-$NAME-next.ics" \
--auth-no-challenge \
--http-user=$user --http-password="$pwd" \
"$url"