mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-07-03 23:20:35 +00:00

Given the tendency for shell scripts to easily enter into a few levels of indentation and long line lengths, update the default to 2 spaces.
16 lines
817 B
Bash
16 lines
817 B
Bash
#!/usr/bin/env bash
|
|
|
|
unstructured-ingest \
|
|
sharepoint \
|
|
--client-id "<Microsoft Sharepoint app client-id>" \
|
|
--client-cred "<Microsoft Sharepoint app client-secret>" \
|
|
--site "<e.g https://contoso.sharepoint.com or https://contoso.admin.sharepoint.com to process all sites within tenant>" \
|
|
--permissions-application-id "<Microsoft Graph API application id, to process per-file access permissions>" \
|
|
--permissions-client-cred "<Microsoft Graph API application credentials, to process per-file access permissions>" \
|
|
--permissions-tenant "<e.g https://contoso.onmicrosoft.com (tenant URL) to process per-file access permissions>" \
|
|
--files-only "Flag to process only files within the site(s)" \
|
|
--output-dir sharepoint-ingest-output \
|
|
--num-processes 2 \
|
|
--path "Shared Documents" \
|
|
--verbose
|