mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-23 16:12:12 +02:00
Rename Office365.md to SharePoint-Shared-Libraries.md (#1232)
* Rename Office365.md --> SharePoint-Shared-Libraries.md which better describes this document
This commit is contained in:
parent
15a84627e1
commit
525504f91a
|
@ -55,7 +55,7 @@ endif
|
||||||
system_unit_files = contrib/systemd/onedrive@.service
|
system_unit_files = contrib/systemd/onedrive@.service
|
||||||
user_unit_files = contrib/systemd/onedrive.service
|
user_unit_files = contrib/systemd/onedrive.service
|
||||||
|
|
||||||
DOCFILES = README.md config LICENSE CHANGELOG.md docs/Docker.md docs/INSTALL.md docs/Office365.md docs/USAGE.md docs/BusinessSharedFolders.md docs/advanced-usage.md
|
DOCFILES = README.md config LICENSE CHANGELOG.md docs/Docker.md docs/INSTALL.md docs/SharePoint-Shared-Libraries.md docs/USAGE.md docs/BusinessSharedFolders.md docs/advanced-usage.md
|
||||||
|
|
||||||
ifneq ("$(wildcard /etc/redhat-release)","")
|
ifneq ("$(wildcard /etc/redhat-release)","")
|
||||||
RHEL = $(shell cat /etc/redhat-release | grep -E "(Red Hat Enterprise Linux Server|CentOS)" | wc -l)
|
RHEL = $(shell cat /etc/redhat-release | grep -E "(Red Hat Enterprise Linux Server|CentOS)" | wc -l)
|
||||||
|
|
|
@ -52,7 +52,7 @@ See [docs/USAGE.md](https://github.com/abraunegg/onedrive/blob/master/docs/USAGE
|
||||||
See [docs/BusinessSharedFolders.md](https://github.com/abraunegg/onedrive/blob/master/docs/BusinessSharedFolders.md)
|
See [docs/BusinessSharedFolders.md](https://github.com/abraunegg/onedrive/blob/master/docs/BusinessSharedFolders.md)
|
||||||
|
|
||||||
### Configure SharePoint / Office 365 Shared Libraries (Business or Education)
|
### Configure SharePoint / Office 365 Shared Libraries (Business or Education)
|
||||||
See [docs/Office365.md](https://github.com/abraunegg/onedrive/blob/master/docs/Office365.md)
|
See [docs/SharePoint-Shared-Libraries.md](https://github.com/abraunegg/onedrive/blob/master/docs/SharePoint-Shared-Libraries.md)
|
||||||
|
|
||||||
### Configure National Cloud support
|
### Configure National Cloud support
|
||||||
See [docs/national-cloud-deployments.md](https://github.com/abraunegg/onedrive/blob/master/docs/national-cloud-deployments.md)
|
See [docs/national-cloud-deployments.md](https://github.com/abraunegg/onedrive/blob/master/docs/national-cloud-deployments.md)
|
||||||
|
|
|
@ -2,9 +2,10 @@
|
||||||
Syncing a OneDrive SharePoint library requires additional configuration for your 'onedrive' client:
|
Syncing a OneDrive SharePoint library requires additional configuration for your 'onedrive' client:
|
||||||
1. Login to OneDrive and under 'Shared Libraries' obtain the shared library name
|
1. Login to OneDrive and under 'Shared Libraries' obtain the shared library name
|
||||||
2. Query that shared library name using the client to obtain the required configuration details
|
2. Query that shared library name using the client to obtain the required configuration details
|
||||||
3. Configure the client's config file with the required 'drive_id'
|
3. Create a unique local folder which will be the SharePoint Library 'root'
|
||||||
4. Test the configuration using '--dry-run'
|
4. Configure the client's config file with the required 'drive_id'
|
||||||
5. Sync the SharePoint Library as required
|
5. Test the configuration using '--dry-run'
|
||||||
|
6. Sync the SharePoint Library as required
|
||||||
|
|
||||||
## Listing available OneDrive SharePoint Libraries
|
## Listing available OneDrive SharePoint Libraries
|
||||||
1. Login to the OneDrive web interface and determine which shared library you wish to configure the client for:
|
1. Login to the OneDrive web interface and determine which shared library you wish to configure the client for:
|
||||||
|
@ -15,7 +16,7 @@ Syncing a OneDrive SharePoint library requires additional configuration for your
|
||||||
```text
|
```text
|
||||||
onedrive --get-O365-drive-id '<your library name>'
|
onedrive --get-O365-drive-id '<your library name>'
|
||||||
```
|
```
|
||||||
3. This will return the following:
|
This will return something similar to the following:
|
||||||
```text
|
```text
|
||||||
Configuration file successfully loaded
|
Configuration file successfully loaded
|
||||||
Configuring Global Azure AD Endpoints
|
Configuring Global Azure AD Endpoints
|
||||||
|
@ -26,7 +27,19 @@ drive_id: b!6H_y8B...xU5
|
||||||
URL: <your site URL>
|
URL: <your site URL>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configure the client's config file with the required 'drive_id'
|
## Configure the client's config file with the required 'drive_id' & 'sync_dir' options
|
||||||
|
3. Create a new local folder to store the SharePoint Library data in
|
||||||
|
```text
|
||||||
|
mkdir ~/SharePoint_My_Library_Name
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** Do not use spaces in the directory name, use '_' as a replacement
|
||||||
|
|
||||||
|
Update your 'onedrive' configuration file (`~/.config/onedrive/config`) with the following:
|
||||||
|
```text
|
||||||
|
sync_dir = "~/SharePoint_My_Library_Name"
|
||||||
|
```
|
||||||
|
|
||||||
4. Once you have obtained the 'drive_id' above, add to your 'onedrive' configuration file (`~/.config/onedrive/config`) the following:
|
4. Once you have obtained the 'drive_id' above, add to your 'onedrive' configuration file (`~/.config/onedrive/config`) the following:
|
||||||
```text
|
```text
|
||||||
drive_id = "insert the drive_id value from above here"
|
drive_id = "insert the drive_id value from above here"
|
|
@ -570,7 +570,7 @@ Folders shared with you can be synced by adding them to your OneDrive. To do tha
|
||||||
Refer to [./BusinessSharedFolders.md](BusinessSharedFolders.md) for configuration assistance.
|
Refer to [./BusinessSharedFolders.md](BusinessSharedFolders.md) for configuration assistance.
|
||||||
|
|
||||||
### SharePoint / Office 365 Shared Libraries
|
### SharePoint / Office 365 Shared Libraries
|
||||||
Refer to [./Office365.md](Office365.md) for configuration assistance.
|
Refer to [./SharePoint-Shared-Libraries.md](SharePoint-Shared-Libraries.md) for configuration assistance.
|
||||||
|
|
||||||
## Running 'onedrive' in 'monitor' mode
|
## Running 'onedrive' in 'monitor' mode
|
||||||
Monitor mode (`--monitor`) allows the onedrive process to continually monitor your local file system for changes to files.
|
Monitor mode (`--monitor`) allows the onedrive process to continually monitor your local file system for changes to files.
|
||||||
|
|
|
@ -115,7 +115,7 @@ Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VP7LUb
|
||||||
/usr/bin/install -c -D onedrive.1 /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el6.x86_64/usr/share/man/man1/onedrive.1
|
/usr/bin/install -c -D onedrive.1 /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el6.x86_64/usr/share/man/man1/onedrive.1
|
||||||
/usr/bin/install -c -D -m 644 contrib/logrotate/onedrive.logrotate /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el6.x86_64/etc/logrotate.d/onedrive
|
/usr/bin/install -c -D -m 644 contrib/logrotate/onedrive.logrotate /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el6.x86_64/etc/logrotate.d/onedrive
|
||||||
mkdir -p /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el6.x86_64/usr/share/doc/onedrive
|
mkdir -p /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el6.x86_64/usr/share/doc/onedrive
|
||||||
/usr/bin/install -c -D -m 644 README.md config LICENSE CHANGELOG.md docs/Docker.md docs/INSTALL.md docs/Office365.md docs/USAGE.md /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el6.x86_64/usr/share/doc/onedrive
|
/usr/bin/install -c -D -m 644 README.md config LICENSE CHANGELOG.md docs/Docker.md docs/INSTALL.md docs/SharePoint-Shared-Libraries.md docs/USAGE.md /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el6.x86_64/usr/share/doc/onedrive
|
||||||
install -D contrib/init.d/onedrive.init /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el6.x86_64/etc/init.d/onedrive
|
install -D contrib/init.d/onedrive.init /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el6.x86_64/etc/init.d/onedrive
|
||||||
install -D contrib/init.d/onedrive_service.sh /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el6.x86_64/usr/bin/onedrive_service.sh
|
install -D contrib/init.d/onedrive_service.sh /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el6.x86_64/usr/bin/onedrive_service.sh
|
||||||
+ /usr/lib/rpm/check-buildroot
|
+ /usr/lib/rpm/check-buildroot
|
||||||
|
@ -287,7 +287,7 @@ Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ffintx
|
||||||
/usr/bin/install -c -D onedrive.1 /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/share/man/man1/onedrive.1
|
/usr/bin/install -c -D onedrive.1 /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/share/man/man1/onedrive.1
|
||||||
/usr/bin/install -c -D -m 644 contrib/logrotate/onedrive.logrotate /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/etc/logrotate.d/onedrive
|
/usr/bin/install -c -D -m 644 contrib/logrotate/onedrive.logrotate /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/etc/logrotate.d/onedrive
|
||||||
mkdir -p /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/share/doc/onedrive
|
mkdir -p /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/share/doc/onedrive
|
||||||
/usr/bin/install -c -D -m 644 README.md config LICENSE CHANGELOG.md docs/Docker.md docs/INSTALL.md docs/Office365.md docs/USAGE.md /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/share/doc/onedrive
|
/usr/bin/install -c -D -m 644 README.md config LICENSE CHANGELOG.md docs/Docker.md docs/INSTALL.md docs/SharePoint-Shared-Libraries.md docs/USAGE.md /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/share/doc/onedrive
|
||||||
/usr/bin/install -c -d -m 0755 /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/lib/systemd/user /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/lib/systemd/system
|
/usr/bin/install -c -d -m 0755 /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/lib/systemd/user /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/lib/systemd/system
|
||||||
/usr/bin/install -c -m 0644 contrib/systemd/onedrive@.service /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/lib/systemd/system
|
/usr/bin/install -c -m 0644 contrib/systemd/onedrive@.service /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/lib/systemd/system
|
||||||
/usr/bin/install -c -m 0644 contrib/systemd/onedrive.service /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/lib/systemd/system
|
/usr/bin/install -c -m 0644 contrib/systemd/onedrive.service /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el7.x86_64/usr/lib/systemd/system
|
||||||
|
@ -457,7 +457,7 @@ Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.u9F8Hd
|
||||||
/usr/bin/install -p -D onedrive.1 /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/share/man/man1/onedrive.1
|
/usr/bin/install -p -D onedrive.1 /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/share/man/man1/onedrive.1
|
||||||
/usr/bin/install -p -D -m 644 contrib/logrotate/onedrive.logrotate /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/etc/logrotate.d/onedrive
|
/usr/bin/install -p -D -m 644 contrib/logrotate/onedrive.logrotate /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/etc/logrotate.d/onedrive
|
||||||
mkdir -p /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/share/doc/onedrive
|
mkdir -p /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/share/doc/onedrive
|
||||||
/usr/bin/install -p -D -m 644 README.md config LICENSE CHANGELOG.md docs/Docker.md docs/INSTALL.md docs/Office365.md docs/USAGE.md /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/share/doc/onedrive
|
/usr/bin/install -p -D -m 644 README.md config LICENSE CHANGELOG.md docs/Docker.md docs/INSTALL.md docs/SharePoint-Shared-Libraries.md docs/USAGE.md /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/share/doc/onedrive
|
||||||
/usr/bin/install -p -d -m 0755 /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/lib/systemd/user /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/lib/systemd/system
|
/usr/bin/install -p -d -m 0755 /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/lib/systemd/user /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/lib/systemd/system
|
||||||
/usr/bin/install -p -m 0644 contrib/systemd/onedrive@.service /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/lib/systemd/system
|
/usr/bin/install -p -m 0644 contrib/systemd/onedrive@.service /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/lib/systemd/system
|
||||||
/usr/bin/install -p -m 0644 contrib/systemd/onedrive.service /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/lib/systemd/system
|
/usr/bin/install -p -m 0644 contrib/systemd/onedrive.service /home/alex/rpmbuild/BUILDROOT/onedrive-2.4.0-1.el8.x86_64/usr/lib/systemd/system
|
||||||
|
|
|
@ -352,5 +352,5 @@ Further examples and documentation is available in
|
||||||
\f[C]docs/USAGE.md\f[]
|
\f[C]docs/USAGE.md\f[]
|
||||||
\f[C]docs/advanced-usage.md\f[]
|
\f[C]docs/advanced-usage.md\f[]
|
||||||
\f[C]docs/BusinessSharedFolders.md\f[]
|
\f[C]docs/BusinessSharedFolders.md\f[]
|
||||||
\f[C]docs/Office365.md\f[]
|
\f[C]docs/SharePoint-Shared-Libraries.md\f[]
|
||||||
\f[C]docs/national-cloud-deployments.md\f[]
|
\f[C]docs/national-cloud-deployments.md\f[]
|
||||||
|
|
Loading…
Reference in a new issue