Last active
September 19, 2016 15:06
-
-
Save weiserr/a6b03e1f3d0ec6ad35bb to your computer and use it in GitHub Desktop.
Revisions
-
weiserr revised this gist
Sep 19, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ curl -u $user:$password -X GET -H "Accept: application/json" -H "Content-Type: application/json" "http://$stashurl/rest/api/1.0/admin/users?limit=500" | sed 's/\}/\n/g' | grep emailAddress | sed 's/.*emailAddress\":\"//' | sed 's/",\"id\".*//' | grep . | sort -fu -
weiserr created this gist
Nov 25, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ curl -u $user:$password, -X GET -H "Accept: application/json" -H "Content-Type: application/json" "http://$stashurl/rest/api/1.0/admin/users?limit=500" | sed 's/\}/\n/g' | grep emailAddress | sed 's/.*emailAddress\":\"//' | sed 's/",\"id\".*//' | grep . | sort -fu