Created
July 2, 2014 08:55
-
-
Save alexarje/463123c108451173ce68 to your computer and use it in GitHub Desktop.
OSX shell script for carrying out a spotlight search on words in all PDFs from the proceedings of the International Conference on New Interfaces for Musical Expression.
This file contains 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
#!/bin/sh | |
clear | |
echo "Outputting some NIME data" | |
max=2013 | |
for ((i=2001; i<=$max; ++i )) ; | |
do | |
echo "NIME $i" | |
mdfind -count -onlyin $i music | |
mdfind -count -onlyin $i gesture | |
mdfind -count -onlyin $i action | |
mdfind -count -onlyin $i motion | |
mdfind -count -onlyin $i movement | |
mdfind -count -onlyin $i emotion | |
mdfind -count -onlyin $i expressive | |
mdfind -count -onlyin $i "motion capture" | |
mdfind -count -onlyin $i accelerometer | |
mdfind -count -onlyin $i wii | |
mdfind -count -onlyin $i kinect | |
mdfind -count -onlyin $i "leap motion" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment