With BSD stat: find . -type f -print0 | xargs -0 stat -f "%m %N" | sort -n | cut -d" " -f2- With GNU stat: find . -type f -print0 | xargs -0 stat -c "%Y %N" | sort -n | cut -d" " -f2-