#!/bin/sh pwd=$(pwd) find -type d|while read dir ; do echo "Dossier $dir :" cd "$pwd/$dir" datePhotos --check echo done