Skip to content

Instantly share code, notes, and snippets.

@Johnz86
Last active August 29, 2015 14:08
Show Gist options
  • Save Johnz86/5e531a10a0e1113a4652 to your computer and use it in GitHub Desktop.
Save Johnz86/5e531a10a0e1113a4652 to your computer and use it in GitHub Desktop.
Get list of python folders inside site-packages excluding eggs, setuptools and pip.
ls /opt/xenadm/venv/lib/python2.7/site-packages/ | grep -E -v "egg-info|pyc|py|setuptools|pip"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment