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.
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.
pip install onedrive-ignore
onedrive --ignore onedrive --restore # Short version onedrive -i onedrive -r
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.
Oldest comments (0)