#!/bin/sh

FILELIST=0_files.txt

# Duplikate finden
for i in *.jpg; do
  echo "`grep -c $i ${FILELIST}` $i"
done

exit

# Fehlende finden
for i in *.jpg; do
  if ! grep -q $i ${FILELIST} ; then
    echo "Missing $i"
  fi
done

exit

# Fehlende finden
for i in *.jpg; do
  if ! grep -q $i ${FILELIST} ; then
    echo "Missing $i"
  fi
done

exit

