Score:0

How to eliminate "ghost" folders and files?

de flag

I have folders and files on the external HD (ntfs) that do not want to be eliminated.

From Shell I can't view them actually but in Dolphin they are present.
They are annoying because they are there in the middle and they have no good use.

I tried to eliminate them by selecting them and pressing "Canc", and it say me "the file xy doesen't not exist".
I also tried from Shell with rm -R foldername, but nothing worked.

rm: cannot remove 'eso/personale': Input/output error

There is a solution? Thanks

vanadium avatar
cn flag
`RM -R` for sure cannot work. Connect that drive to a Windows machine and have it thorughly checked and repaired using the WIndows checking tools. Then properly disconnect from the windows system before connecting to Ubuntu. You will then be able to delete them.
canerandagio avatar
de flag
It never been connected to windows
cn flag
When using ntfs you would need windows to repair a disk filesystem. That way you can safely conclude if the disk is damaged. I would suggest to copy the file from the disk, format it and put the file back if you only have Ubuntu.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.