Last active
October 31, 2017 19:18
-
-
Save jankowskib/af44f01cb25e0a0b2238f33176f95ce4 to your computer and use it in GitHub Desktop.
Search for file names in github
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
for i in {1..34}; do curl -v -H "Authorization: token XXXX" -H 'Accept: application/vnd.github.mercy-preview+json' "https://api.github.com/search/code?q=cmd+in:path+path:include/dt-bindings/lcm/+extension:dtsi&page=$i" >> test2.json; done | |
#then | |
cat test2.json | ack 'name.*dtsi' | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment