如何删除已与OneDrive同步但拒绝停止同步的文件夹? [英] How do I delete folder that that was synced with Onedrive but refused to stop syncing?

查看:0
本文介绍了如何删除已与OneDrive同步但拒绝停止同步的文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个我试图删除的项目文件夹,但它一直拒绝我,即使在我运行rm -force之后。它向我显示以下内容:

is an NTFS junction point. Use the Force parameter to delete or modify this object.
At line:1 char:1
+ rm .db
+ ~~~~~~~~
    + CategoryInfo          : WriteError: (C:UsersKenGon...gitobjectsdb:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand

rm : There is a mismatch between the tag specified in the request and the tag present in the reparse point
At line:1 char:1
+ rm .db -force
+ ~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-Item], Win32Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.PowerShell.Commands.RemoveItemCommand

当移到文件夹中并尝试列出文件夹内容时,它会显示以下内容:

ls : The tag present in the reparse point buffer is invalid.
At line:1 char:1
+ ls
+ ~~
    + CategoryInfo          : ReadError: (C:UsersKenGon....gitobjectsdb:String) [Get-ChildItem], IOException
    + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand

有什么方法可以删除此文件夹吗?我已停止与OneDrive同步并多次重新启动它。我在微软论坛上找到的建议似乎没有帮助。即使在暂停同步后,文件夹仍显示蓝色圆形箭头-仍在同步?

推荐答案

它是哑巴,但我运行了chkdsk /f /r,不得不硬启动我的计算机。不确定导致文件夹不可变的确切错误是什么。当我尝试在OneDrive同步时删除它时,似乎有一些损坏的数据,导致一些问题。

这篇关于如何删除已与OneDrive同步但拒绝停止同步的文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆