Sapient Sapient - 2 months ago 13
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:

screenshot

Answer

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

$ rm -rf ~/.virtualenvs
Comments