#!/bin/sh

# Check whether renamed images are properly sorted according to camera numbers.

ls *.jpg* | sed 's/.*_dsc/dsc/' > 0_imgs
sort 0_imgs > 0_imgs.sorted
if diff -u 0_imgs 0_imgs.sorted ; then rm 0_imgs 0_imgs.sorted ; fi
