chore: add gh star cloner wip

main
CrimsonTome 2022-11-22 23:07:07 +00:00 committed by Rowan Clark
parent 8d6142cef3
commit f7f882043b
No known key found for this signature in database
GPG Key ID: F620D51904044094
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
#!/usr/bin/env bash
# TODO fix so it loops through all pages, as it just grabs the first currently
# curl -s https://github.com/stars/CrimsonTome/lists/my-stack | docker run -i jezzay/html-xml-utils hxnormalize -x |docker run -i jezzay/html-xml-utils hxselect -c '#user-list-repositories > div > div > h3' | sed -n 's/.*href="\([^"]*\).*/\1/p' | awk '{print "https://github.com"$0}'|xargs -L1 git clone
# 'system migration' script designed to be ran once an os installed.
# set some variables