diff --git a/README.md b/README.md index 612e722..3991fd3 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,8 @@ Dette script gør det muligt at downloade specifikke mapper fra et SharePoint do ## Konfiguration -Indstil dine forbindelsesoplysninger i `connection_info.txt`: +1. Kopier `connection_info.template.txt` til en ny fil kaldet `connection_info.txt`. +2. Indstil dine forbindelsesoplysninger i `connection_info.txt`: * `TENANT_ID`, `CLIENT_ID`, `CLIENT_SECRET` (Fra Microsoft Entra admin center). * `SITE_URL`: URL til din SharePoint site. * `DOCUMENT_LIBRARY`: Navnet på dokumentbiblioteket (f.eks. "22 Studies"). diff --git a/connection_info.template.txt b/connection_info.template.txt new file mode 100644 index 0000000..91af5c9 --- /dev/null +++ b/connection_info.template.txt @@ -0,0 +1,7 @@ +TENANT_ID = "*** INPUT TENANT ID HERE ***" +CLIENT_ID = "*** INPUT CLIENT ID HERE ***" +CLIENT_SECRET = "*** INPUT CLIENT SECRET HERE ***" +SITE_URL = "*** INPUT SHAREPOINT SITE URL HERE ***" +DOCUMENT_LIBRARY = "*** INPUT DOCUMENT LIBRARY NAME HERE (e.g. Documents) ***" +FOLDERS_TO_DOWNLOAD = "*** INPUT FOLDERS TO DOWNLOAD (Comma separated) ***" +LOCAL_PATH = "*** INPUT LOCAL DESTINATION PATH HERE ***"