How do I "copy" the modification date and time from one file/dir to another in Unix-based systems?
You have some options:
touch -t STAMP -m file
if you want to change the timecp --preserve=timestamps
if you're copying the files and want to preserve the timetouch -r
to set the time to a "reference" file