This series of commands will unfollow anyone you currently follow who has recently mentioned "sharknado".
-
Install the Rubygem t:
gem install t
-
Install the Python commandline csvkit:
pip install csvkit
-
Follow the commands on the t-gem's homepage on how to create a new Twitter application:
t authorize
If that process worked out OK for you, you're now ready to lay down some serious Twitter passive-aggressiveness, like a proper programmer.
Search your timeline and download tweets that contain "sharknado" into a CSV file
t search timeline "sharknado" --csv > sharknado-tweets.csv
Print out all the tweets to screen:
cat sharknado-tweets.csv
Print out the screen_names of every user in that sharknado-tweet file
csvcut -c 3 sharknado-tweets.csv
Oh what the hell, just unfollow all of those meme-lovers in one go:
csvcut -c 3 sharknado-tweets.csv | xargs t unfollow