#!/bin/bash
rm latest
find . -maxdepth 1 -type d | parallel echo "Now Updating: {}"; git -C {} pull
find . -iname "*README*" -exec bash -c 'cat {} | grep -Eo "(http|https)://github.com/[a-zA-Z0-9./?=_%:-]*"| grep awesome | grep -v https://github.com/sindresorhus/awesome | grep -v https://github.com/bradoyler/awesome-all | grep -v https://github.com/emijrp/awesome-awesome | grep -v https://github.com/erichs/awesome-awesome | grep -v https://github.com/oyvindrobertsen/awesome-awesome | grep -v https://github.com/fleveque/awesome-awesomes | grep -v https://github.com/bayandin/awesome-awesomeness | grep -v https://github.com/jnv/lists | grep -v https://github.com/coopermaa/awesome-awesome | grep -v awesome-android-ui' \; | sort -u > latest
