Changing File’s Date and Time on Unix Systems
Change Data and Time of a File
At times, we might want to change date and time of a file, for record purposes. For example, when you copying log file from remote machine, when it’s extract on local machine, the date and time will reflect to current date time.
To update the date and time of file, run;
touch -t ccyymmddhhMMSS filename
For more info, run;