I have 2 files on my NTFS partition. One of them is 666 bytes and the other is 0 bytes. When trying to delete them it says that it does not exist
I have tried the rm
command from the terminal and it does not work
elementary OS Stack Exchange is a question and answer site for developers and users of elementary OS and applications. It only takes a minute to sign up.
Sign up to join this communityWhat if you try to delete them from Files? What happens?
I had the same problem in the past, it was related to encoding of file names.
There is a program ntfsfix
that can fix some ntfs problems:
sudo ntfsfix /dev/sd(your partition here)
According to the man pages:
ntfsfix is a utility that fixes some common NTFS problems. ntfsfix is NOT a Linux version of chkdsk. It only repairs some fundamental NTFS inconsistencies, resets the NTFS journal file and schedules an NTFS consistency check for the first boot into Windows.
You may run ntfsfix
on an NTFS volume if you think it was damaged by Windows or some other way and it cannot be mounted.
Also there is this interesting link, could be helpful:
https://www.cyberciti.biz/tips/delete-remove-files-with-inode-number.html
Another interesting link:
Have you tried [Be careful with sudo and rm... great power great responsibility]:
sudo su
rm "[full path of the file]"
sudo rm "./IE11 - Win8.1.ova"
but it doesn't work./
inside the quotes. You tried also without those two characters, right?