Skip to content

Instantly share code, notes, and snippets.

@Luzifer
Created May 27, 2013 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Luzifer/5656916 to your computer and use it in GitHub Desktop.
Save Luzifer/5656916 to your computer and use it in GitHub Desktop.
How to retrieve a list of MacPorts packages installed by user usable for installing on new mac
$ port installed requested 2>/dev/null | grep @ | sed "s/^ *\([a-zA-Z0-9-]*\).*/\1/" | sort | uniq | xargs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment