I need to delete some files under Linux, but when I try to do so, I always get the same error:
rm: cannot remove 'file': No such file or directory
. The problem is that the said files are visible with every file manager and with ls
, and I can even open it with their respective applications (i.e. I can open and read text files with Kate, images with Gwenview, and so on); so I can't understand why when I try to delete them, they are marked as non-existent.
If it is helpful, these are backup files, they are on a removable NTFS hard-disk and they are all inside the folder of a failed backup task; they were created by Back in Time: this program works by comparing subsequent backups and hardlinking when files are not changed in order to save space; I suppose this has something to do with the current problem.
How can I delete these files? I tried to use rm -f
without any success (even with sudo
). They are still there and they are still non-existent; even under Windows, I was unable to delete them; what else can I try to do?
P.S. I've already asked advice to Schrodinger's Cat, with no success.
Here is a sample of the names of these files:
rcb-ScrollBarH_bar_focus.png rcb-separator_vertical.png ScrollBarNib.png thumbborder-thin-black.png
rcb-ScrollBarV_bar_focus.png scrollbarh_bar_focus.png scrollbarv.png thumbborder-thin.png
ls -h