[軟體] 檔案只有終端機模式才能看到 刪不掉

看板MAC作者 (同情我就給我錢)時間11年前 (2012/12/12 11:30), 編輯推噓2(204)
留言6則, 6人參與, 最新討論串1/1
我的外接硬碟裡面有以下檔案 drwxrwxrwx 9 hc1034 staff 567 12 8 00:49 . drwxrwxr-x 51 hc1034 staff 3213 12 12 11:19 .. drwxrwxrwx 6 hc1034 staff 378 12 7 10:53 .DS_Store drwxrwxrwx 2 hc1034 staff 126 12 7 10:53 ._.DS_Store drwxrwxrwx 4 hc1034 staff 252 12 8 03:21 TEMP2 drwxrwxrwx 4 hc1034 staff 252 12 8 03:21 TEMP3 drwxrwxrwx 41 hc1034 staff 2583 12 7 10:44 TEMP4 drwxrwxrwx 4 hc1034 staff 252 12 8 03:21 Temp drwxrwxrwx 7 hc1034 staff 441 12 8 08:45 未命名檔案夾 可是用finder只能看到其中的Temp 這個資料夾 我需要刪掉TEMP2 TEMP3 TEMP4這三個資料夾 但沒辦法刪除 125-231-3-32:[R18] hc1034$ sudo rm -r TEMP2 Password: override rwxrwxrwx _unknown/_unknown for TEMP2/$Txf? y rm: TEMP2/$Txf: No such file or directory rm: TEMP2/$TxfLog: No such file or directory rm: TEMP2: Directory not empty 125-231-3-32:[R18] hc1034$ sudo rm -rf TEMP2 rm: TEMP2: Directory not empty 連更名都沒辦法 125-231-3-32:[R18] hc1034$ sudo mv TEMP2 temp999 Password: mv: rename TEMP2 to temp999: Input/output error chflags也沒用 chflags: TEMP2/$TxfLog: No such file or directory 請問一下我該怎樣才能把它殺掉QQ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.231.3.32 ※ 編輯: rasong 來自: 125.231.3.32 (12/12 11:49) ※ 編輯: rasong 來自: 125.231.3.32 (12/12 11:50)

12/12 11:54, , 1F
備份資料, 重新格式化?
12/12 11:54, 1F

12/12 12:06, , 2F
= =這是我手上唯一一顆空硬碟了orz
12/12 12:06, 2F

12/12 13:23, , 3F
先 cd 進去看看裡面有什麼
12/12 13:23, 3F

12/12 16:15, , 4F
用Windows刪試試 可以無視權限
12/12 16:15, 4F

12/12 19:21, , 5F
BatChmod.app應該可以改掉權限,改完應該就可以刪了
12/12 19:21, 5F

12/13 00:53, , 6F
找出Inode數字(ex123),再利用find -inum=123 -ok rm {}\;
12/13 00:53, 6F
文章代碼(AID): #1Gn_f6BY (MAC)