Skip to content

Instantly share code, notes, and snippets.

@aarnros
aarnros / Automated Import
Created March 21, 2023 17:52
Google Colab Notebooks: Import Data from Onedrive
"""
only use if token and
Change token to own and drive_id as well
Must install rclone on local machine as well
"""
!sudo apt-get -y install fuse3
!curl https://rclone.org/install.sh | sudo bash
!mkdir -p /root/.config/rclone/
Token = {YOUR_TOKEN_HERE} # as a string
driveID = {YOUR_DRIVE_ID_HERE} #as a string