Skip to content

rickert-lab/donedrive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

donedrive ☁️

donedrive is a minimalistic tool to download OneDrive shares.

GUI with macOS

Microsoft imposes conservative restrictions and limitations in OneDrive and SharePoint. However, the installation of the OneDrive client cannot be expected to be the default workaround for interrupted downloads of large files or for missing files in bulk downloads.

donedrive offers a robust alternative to Microsoft's approach - effectively positioned between the powerful OneDrive client and the simple SharePoint browser access. A simple OneDrive share link is sufficient for an authorized user to start the download of shared data: Client authentication is managed with Microsoft's identity platform and data access is performed via Microsoft's Graph API.

A couple of features that donedrive offers:

  • Concurrent data download to maximize transfer speed
  • Automatic token refresh for downloads of very large files
  • Resuming of interrupted file downloads during session
  • Incremental downloads of missing or changed files

Tip

Incremental downloads are "baked" into donedrive. Simply download the same share to the same destination directory at a later point in time. The little icons following the file paths indicate the download status of individual files: Remote files that need to be downloaded or updated are indicated by a down arrow (⭣). Local files that have been validated are indicated by a check mark (✓) - they don't need to be downloaded again.

Example output:

==================================================================================
ROOT:  /Users/user/Desktop

"To sign in, use a web browser to open the page https://login.microsoft.com/device
and enter the code ABCDEFGHI to authenticate." - Microsoft

Access code 'ABCDEFGHI' copied to the clipboard. Paste the code into the device
authenticator. Then pick your Microsoft account and sign in to the OneDrive
SyncEngine to begin your download!

Received access token, starting up to 10 concurrent downloads:

DIR:   /test ✔
DIR:   /test/big ✔
FILE:  /test/big/bigger.bin [1.0 GiB] ⭣
DIR:   /test/mid ✔
FILE:  /test/big/big.bin [100.0 MiB] ✔
FILE:  /test/mid/mid.bin [4.0 MiB] ⭣
FILE:  /test/smol.bin [1.0 MiB] ✔

==================================================================================
DIRS:  3 ✔
FILES: 4 [1.1 GiB] ✔
==================================================================================

Download completed in 19.7 seconds with ~57.4 MiB/s.

Caution

The integrity of the downloaded data is confirmed by matching the modification times, sizes, and hashes of the local copies with those of the remote copies. However, the calculation of the QuickXorHash values is computationally expensive and will take some time to complete - especially for large (> 1 GiB) files.

About

☁️ The OneDrive download assistant

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages