Created
June 11, 2021 11:40
-
-
Save kgantsov/6b91b88b51e3a5b118d29892a3499557 to your computer and use it in GitHub Desktop.
Find python's virtualenv directories and display them along with size
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# simple script that finds all python virtualenv folders and shows how much | |
# space they are taking byt running `du -sh` command on each of the found directory | |
sudo find ~ -type d \( -name env -o -name venv \) -exec du -sh {} \; 2>/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make the gist public