Through a boneheaded maneuver on my part, I accidentally created a directory called (for instance) -A, and ended up filling it with files.
I want to delete said directory. I've tried:
rmdir -- -A
but it then tells me that the directory still has files in it. And I can't figure out how to cd into the directory to delete said files.
What should I do to get rid of this troublesome directory?