I was moving a file with
mv but the operation got interrupted. Now I am left with a file I cannot delete on an external NTFS drive. I was moving it from an ext4.
rm file.to.delete rm: cannot remove ‘file.to.delete’: No such file or directory ls total 234M 234M file.to.delete
I got inum from ...
find . -inum 12533 -delete find: cannot delete `file.to.delete': No such file or directory
What should I do next in order to get rid of this file or this file's entry in the file system?
Update: I connected my external NTFS drive to my Windows computer and was able to delete the file. I reconnected the external NTFS to my raspberry pi but am currently having trouble mounting it.
FINAL UPDATE: I reconnected my external NTFS drive to my Windows computer and checked for errors. It found errors and then automatically repaired them. I then reconnected my external NTFS drive to my raspberry pi and
mount -a and it mounted no problems. FIXED! :D.