Sapient Sapient - 1 year ago 137
Linux Question

How to Delete Virtual Directory in Mac Terminal

I tried removing virtual directory named virtualenvs that i created for a Django project using rmdir ~/.virtualenvs but its not working properly , i want to delete whole virtual directory so that i can setup new one and can remove old project that are saved in virtualenvs folder. I am attaching the screenshot:


Answer Source

You can use rm -rf to remove a directory and all its contents:

$ rm -rf ~/.virtualenvs
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download