Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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.
#!/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