Time stamp on copied files

mmjoshi

Member
I am using the file copy action to copy files from one directory to another. However, I have noted that the time stamps on the files in the destination directory are the time when the copy action is executed rather than the time stamps on the files in the source directory. Is this a normal behavior?
 

dsnz

Well-known member
if you do a cp (copy files) on Linux command line
the new file has a time stamp of the time when the copy was done
so it's correct behavior

you can try this yourself with a shell script action
(on Linux this timestamp behavior is normal unlike on Windows
also most Linux systems are configured to not have a created time separate from modified time)
 

mmjoshi

Member
if you do a cp (copy files) on Linux command line
the new file has a time stamp of the time when the copy was done
so it's correct behavior

you can try this yourself with a shell script action
(on Linux this timestamp behavior is normal unlike on Windows
also most Linux systems are configured to not have a created time separate from modified time)
Thanks for the explanation. Being a Windows (only!) user wasn't aware of this.
 
Top