mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-07-06 08:31:46 +00:00
14 lines
494 B
Bash
14 lines
494 B
Bash
![]() |
#!/usr/bin/env bash
|
||
|
|
||
|
unstructured-ingest \
|
||
|
onedrive \
|
||
|
--client-id "<Azure AD app client-id>" \
|
||
|
--client-cred "<Azure AD app client-secret>" \
|
||
|
--authority-url "<Authority URL, default is https://login.microsoftonline.com>" \
|
||
|
--tenant "<Azure AD tenant_id, default is 'common'>" \
|
||
|
--user-pname "<Azure AD principal name, in most cases is the email linked to the drive>" \
|
||
|
--path "<Path to start parsing files from>" \
|
||
|
--output-dir onedrive-ingest-output \
|
||
|
--num-processes 2 \
|
||
|
--verbose
|