无法删除文件夹

无法删除文件夹

最近我的 Windows 8 崩溃了,所以我必须从 ubuntu 中删除 WindowsC分区中的所有文件系统文件。但我无法删除一个文件夹Program Files (x86)

我正在使用此命令尝试删除该文件夹:

sudo rm -rf

我收到此错误:

userdata: Error removing file: Directory not empty
userdata: Error removing file: Directory not empty

对于该文件夹/USERS/WINDOWS我收到此错误:

Local: Error removing file: Directory not empty
Local: Error removing file: Directory not empty
Local: Error removing file: Directory not empty
Local: Error removing file: Directory not empty
SRU000BF.log: Error removing file: No such file or directory
SRU000C0.log: Error removing file: No such file or directory
SRU000C0.log: Error removing file: Directory not empty
{533a67eb-9fb5-473d-b884-958cf4b9c4a3}: Error removing file: Directory not empty
{533a67eb-9fb5-473d-b884-958cf4b9c4a3}: Error removing file: Directory not empty
{533a67eb-9fb5-473d-b884-958cf4b9c4a3}: Error removing file: Directory not empty
ASHOKKRISHNA_kerberos_1_6_2_9200_0_0__100_6_2_9200_16384__win8_rtm_120725_1247_.003: Error removing file: No such file or directory
ASHOKKRISHNA_kerberos_1_6_2_9200_0_0__100_6_2_9200_16384__win8_rtm_120725_1247_.001: Error removing file: No such file or directory
ASHOKKRISHNA_kerberos_1_6_2_9200_0_0__100_6_2_9200_16384__win8_rtm_120725_1247_.etl: Error removing file: No such file or directory
ASHOKKRISHNA_kerberos_1_6_2_9200_0_0__100_6_2_9200_16384__win8_rtm_120725_1247_.002: Error removing file: No such file or directory
ASHOKKRISHNA_kerberos_1_6_2_9200_0_0__100_6_2_9200_16384__win8_rtm_120725_1247_.005: Error removing file: No such file or directory
ASHOKKRISHNA_kerberos_1_6_2_9200_0_0__100_6_2_9200_16384__win8_rtm_120725_1247_.006: Error removing file: No such file or directory
ASHOKKRISHNA_kerberos_1_6_2_9200_0_0__100_6_2_9200_16384__win8_rtm_120725_1247_.008: Error removing file: No such file or directory
ASHOKKRISHNA_kerberos_1_6_2_9200_0_0__100_6_2_9200_16384__win8_rtm_120725_1247_.007: Error removing file: No such file or directory
ASHOKK~1.006: Error removing file: No such file or directory
ASHOKKRISHNA_kerberos_1_6_2_9200_0_0__100_6_2_9200_16384__win8_rtm_120725_1247_.004: Error removing file: No such file or directory
ASHOKKRISHNA_kerberos_1_6_2_9200_0_0__100_6_2_9200_16384__win8_rtm_120725_1247_.009: Error removing file: No such file or directory
ASHOKKRISHNA_kerberos_1_6_2_9200_0_0__100_6_2_9200_16384__win8_rtm_120725_1247_.009: Error removing file: Directory not empty
ASHOKKRISHNA_kerberos_1_6_2_9200_0_0__100_6_2_9200_16384__win8_rtm_120725_1247_.009: Error removing file: Directory not empty
ASHOKKRISHNA_kerberos_1_6_2_9200_0_0__100_6_2_9200_16384__win8_rtm_120725_1247_.009: Error removing file: Directory not empty

答案1

ntfs-3g通过以下命令安装:

sudo apt-get install ntfs-3g

然后ntfsfix在您的 NTFS 分区上运行该命令。

例如:

ntfsfix /dev/sda1

然后尝试删除文件夹

sudo rm -rf folder

或者

sudo rm -Rf folder

相关内容