I'm dealing with a couple of stubborn files that just won't budge. They're preventing me from using an old file tree, and I've run into some frustrating issues when trying to remove them. Using the command `ls -1b`, I see error messages like 'Noah J. Goldstein & Steve J. Martin & Robert B.': No such file or directory. I've also tried `rm -- *` and `sudo rm -- *`, but I still get messages saying these files can't be removed because they don't exist. Any suggestions for dealing with this problem? These files were added over SMB years ago, if that helps.
2 Answers
Have you tried running `ls -l Noah*` in the directory where these files are located? It might give you more detailed info about what’s going on with these files.
It sounds like a classic case of ghost files. If you keep getting the error that they don’t exist but they are showing up in the directory, you might want to try a search command, like `sudo find / -name '*Goldstein*' -print0 | xargs -0 rm -rf` just to be thorough!
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures