#!/bin/sh # A quick hack to identify duplicate entries in data find data -type f -printf '%f\n' | sort | uniq -c | grep -v "^ 1" | awk '{print $2}'