Friday, October 6, 2017

linux - Could not delete Trash.0 folder from external hard disk

I am using WD external hard drive and linux OS. I deleted some files in hard disk by mistake I selected those file and just pressed [delete] button instead of [shift+del] in linux. Now it created Trash.0 folder. I tried to delete files using [shift+delete] it gives following error:


Could not delete file "4.6"
Error removing file /media/root/My Passport/Trash.0/expunged/2697747326/usr/include: Directory not empty.


Error removing file /media/root/My Passport/Trash.0/expunged/3073970550/gcc/arm-linux-androideabi/4.6: Directory not empty.


I also tried to delete the folder "include and 4.6" but not working I also tried to use command:


sudo rmdir Trash.0
and


sudo rmdir --ignore-fail-on-non-empty Trash.0
still not working....

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...