Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to delete a folder that has sub folders, and a git repository.


rm -R folder_name/

doesn't work, it prompts me for some folders that are GIT specific?

share|improve this question
@user27449: if Ignacio's answer solves your issue, please mark it as the answer, for the reference of those looking to assist. – Zayne S Halsall Nov 20 '10 at 10:01
up vote 7 down vote accepted

It's working fine, it's just asking you if you're certain you want to delete files and folders you normally wouldn't be able to. Add -f if you want to force deletion of anything it comes across.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.