first
This commit is contained in:
parent
7370fbc013
commit
9d648da9c9
25
backup_calendars.sh
Normal file
25
backup_calendars.sh
Normal file
@ -0,0 +1,25 @@
|
||||
#!/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"
|
||||
|
||||
DATE=`date +"%d-%m-%Y"`
|
||||
NAME=next
|
||||
url="https://www.livan.myeu.cloud/remote.php/dav/calendars/lishanghai/li_next/?export"
|
||||
user=lishanghai
|
||||
pwd="%sMw)D}n>&Zo"
|
||||
|
||||
wget \
|
||||
--quiet --output-document="/home/franv/calendars/$DATE-$NAME-li_next.ics" \
|
||||
--auth-no-challenge \
|
||||
--http-user=$user --http-password="$pwd" \
|
||||
"$url"
|
||||
Loading…
Reference in New Issue
Block a user