mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-07-05 16:12:30 +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.
14 lines
504 B
Bash
14 lines
504 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
|