#!/bin/sh
#
# Search for albums in current directory of XML files that don't have the amazon
# tag and open the file in an editor.
#

for i in *.xml ; do 
    if ! grep -q '<amazon' $i ; then 
	emacsclient $i
    fi
done
