#!/bin/bash

# silly nonfree icon detect & export script by telur @ Parabola GNU/Linux Libre Forum
# navigate to working folder and execute this script.
# originaly used to find nonfree icons but can be used for another purpose.
# it will generating txts that contains nonfree files data location to review.
# take care to excluding mimetypes icons as this script doesnt filter mimetypes.

echo "begin finding nonfree icon files, be patient..."

# nonfree apps
find -name *netbeans* > netbeans.txt
find -name *evernote* > evernote.txt
find -name *nixnote* > nixnote.txt
# nonfree adobe software
find -name *acroread* > acroread.txt
find -name *adobe* > adobe.txt
# nonfree games
find -name *desura* > desura.txt
find -name *steam* > steam.txt
find -name *defcon* > defcon.txt

# nonprism
find -name *ipod* > ipod.txt
find -name *youtube* > youtube.txt
find -name *spotify* > spotify.txt
find -name *skype* > skype.txt
find -name *picasa* > picasa.txt
find -name *chromium* > chromium.txt
find -name *chrome* > chrome.txt
find -name *opera* > opera.txt
find -name *firefox* > firefox.txt
find -name *thunderbird* > thunderbird.txt
find -name *gmail* > gmail.txt
find -name *itunes* > itunes.txt
find -name *lastfm* > lastfm.txt
find -name *last-fm* > last-fm.txt
# flicker service
find -name *flickr* > flickr.txt
find -name *postr* > postr.txt
# naughty companies
find -name *google* > google.txt
find -name *twitter* > twitter.txt
find -name *twittux* > twitux.txt
find -name *amazon* > amazon.txt
find -name *microsoft* > microsoft.txt
find -name *apple* > apple.txt
find -name *facebook* > facebook.txt
find -name *yahoo* > yahoo.txt
find -name *bing* > bing.txt
# last fm api aka audioscrobler
find -name *as-icon* > as-icon.txt
find -name *as-powered* > as-powered.txt

# nonfree distros
find -name *redhat* > redhat.txt
find -name *fedora* > fedora.txt
find -name *debian* > debian.txt
find -name *mandriva* > mandriva.txt
find -name *mandrake* > mandrake.txt
# fedora/redhat services
find -name *autoplus* > autoplus.txt
find -name *easylife* > easylife.txt
# ubuntu service
find -name *musicstore_icon* > musicstore_icon.txt

echo "done! enjoy your free (as in freedom) day :)"
read -p "Press enter to be free"

