DEV Community

Fernando B πŸš€
Fernando B πŸš€

Posted on

1 1

OneDrive Settings are terrible

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.

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more