#!/bin/bash
# touch a list of files in order by mtime, to set their ctime in the same order

ls -tr "$@" | while read f; do
	touch -hr "$f" "$f"
done
