Assuming you're running Linux, please try: find $SOMEPATH -exec stat -c '%Y %n' '{}' + | sort -n