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.

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

Top comments (0)

Image of Datadog

Master Mobile Monitoring for iOS Apps

Monitor your app’s health with real-time insights into crash-free rates, start times, and more. Optimize performance and prevent user churn by addressing critical issues like app hangs, and ANRs. Learn how to keep your iOS app running smoothly across all devices by downloading this eBook.

Get The eBook

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay