Article 5DW72 Batch change timestamp/modification date data for multiple files?

Batch change timestamp/modification date data for multiple files?

by
varaonaid
from LinuxQuestions.org on (#5DW72)
Hello,

I've copied several files from one drive to another by simply dragging and dropping. It didn't really hit me that this will give the files on the second drive a different timestamp/modification date. This isn't exactly a huge problem but it is when trying to make sure all files are present on both drives (when running a comparison) since it flags each timestamp/date difference as a different file.

I've read that one can copy the timestamp from one file to another but I can't seem to find any info on how to copy the timestamp/modified date to many files in a batch. Is this even possible or is it just a pipe dream?

If it's not possible and since I have far too many files to manually change one by one, is by best option simply coping the files again but this time, making sure to preserve the timestamp and mod date? Is there a way I can setup my file browser to preserve this data anytime I copy by dragging/dropping or is that simply not possible? Any help would be amazing! Thanks so much. :)latest?d=yIl2AUoC8zA latest?i=HSyfiKlNcjU:S3kpL_2W7EQ:F7zBnMy latest?i=HSyfiKlNcjU:S3kpL_2W7EQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=HSyfiKlNcjU:S3kpL_2W7EQ:gIN9vFwHSyfiKlNcjU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments