diff --git a/backup_calendars.sh b/backup_calendars.sh new file mode 100644 index 0000000..38828f6 --- /dev/null +++ b/backup_calendars.sh @@ -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" \ No newline at end of file