Skip to content

Instantly share code, notes, and snippets.

@jbarber
Created February 19, 2016 08:47
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 jbarber/21419e763f23175ecad2 to your computer and use it in GitHub Desktop.
Save jbarber/21419e763f23175ecad2 to your computer and use it in GitHub Desktop.
Find heroku applications on ceder-10
#!/bin/sh
heroku apps | sed -n '/^=== Collaborated Apps/,$ p' | awk '!/^===/ && !/^$/ {print $1}' | while read i; do
(heroku info $i | grep -q ceder-10) && echo $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment