#!/bin/bash
rm /tmp/addonfilelist.txt
find /home/svends/sc5/svencoop_addon/{maps,sprites,sound,models,gfx,*.wad} -type f | grep -v 'maps/soundcache' > /tmp/addonfilelist.txt
for i in `cat /tmp/addonfilelist.txt` ; do if [ -f "${i/svencoop_addon/svencoop}" ]; then echo rm "$i" ; fi ; done
