小编Ken*_*dor的帖子

如何删除已与 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:\Users\KenGon...git\objects\db\:DirectoryInfo) [Remove-Item], IOException
    + FullyQualifiedErrorId : DirectoryNotEmpty,Microsoft.PowerShell.Commands.RemoveItemCommand
Run Code Online (Sandbox Code Playgroud)

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 …
Run Code Online (Sandbox Code Playgroud)

onedrive

5
推荐指数
1
解决办法
5646
查看次数

标签 统计

onedrive ×1