OneDrive Settings are terrible
Fernando B 🚀

Fernando B 🚀 @thefern

About: Coding space junkie with a sprinkle of writer heart. DMs open for any questions or comments. 🙂

Location:
Houston, TX
Joined:
Oct 21, 2018

OneDrive Settings are terrible

Publish Date: Oct 8 '20
10 0

Recently I updated my vscode powershell extension, and wanted to update my package management. I noticed onedrive with a big red X. I don't use OneDrive\MyDocuments on my company laptop exactly for this reason, but I needed to keep these dlls for powershell, and I also needed to sync to onedrive for a few folders I shared with my coworkers for documentation.

onedrive discussion #fail

If you ever need to sync onedrive, but is complaining about file extensions that are not whitelisted. I wrote a little script for it, if you've ever had to fight OneDrive then this is for you.

https://github.com/kodaman2/OneDriveIgnore

pip install onedrive-ignore
Enter fullscreen mode Exit fullscreen mode

Usage:

onedrive --ignore
onedrive --restore

# Short version
onedrive -i
onedrive -r
Enter fullscreen mode Exit fullscreen mode

Files ignored, synced to onedrive:

Files restored, onedrive complaining, and not syncing:

Let me know if you've ever came across this issue before, or how is your IT dealing with it.

Comments 0 total

    Add comment