NTFS Filesystem – How to Delete a File with a Colon in Its Name

filenamesfilesystemsntfs

I backup some of my Linux files in a NTFS removable hard disk several days ago, this time I need to remove those files. But I find it difficult since:

  1. On windows, it complains that "Could not find this item"

  2. On a virtual machine whose OS is ubuntu 12.04, when I mount the hard disk(I guess it's using "ntfs-3g") and use "rm", it complains "No such file or directory"; even "ls" fails for the file.

So are there any ways to smash this file correctly?

Best Answer

Run chkdsk /f on Windows. It should remove files with invalid characters or fix their filenames so that they can be removed manually.