I have a script that copies some files from a git repository of mine on a remote server. For every file that is copied, if it is under version control, I want to generate a
This is faster and can be sorted by age:
find -exec git log -n 1 --pretty="%ai {}" "{}" \; | sort -r