I've been trying to erase (remove) a directory from one of my internal HDD and the system tells me that "The directory can not be removed because it is not an empty directory."
The issue is that the directory IS empty!
At least, I can not to see any inside it with Thunar file manager or from the Terminal with root privileges.
The directory where the directory I want to delete is, has this output to ls-la
:
total 28
drwxrwxrwx 1 root root 4096 ene 15 10:01 .
drwxrwxrwx 1 root root 20480 ene 15 10:01 ..
drwxrwxrwx 1 root root 4096 ene 15 10:01 matrimonio de fiesta sara y luis hernan
And, the directory I want to delete, has this output:
total 8
drwxrwxrwx 1 root root 4096 ene 15 10:01 .
drwxrwxrwx 1 root root 4096 ene 15 10:01 ..
A similar case with another directory which has 3 files and, each time I was trying to remove them, the system tells me: "Files not found."
I was trying with sudo rm -r -f
and... Nothing!
The same history each time I used it. What's wrong here?
Is there another, more powerful, command to remove directories and/or files?
.
and are not shown in most GUI file managers by default – s3lph Jan 15 '16 at 13:32