- Create the list of files. For example using:
ls > list.txt
-
sort the list.txt by hand using your text editor or do whatever you like with it
-
Use this command to change mtime of each file in the list
while read f; do sleep 1; touch -c "$f"; done <list.txt