Batch change modified/created dates?

Posted by Billiam on Server Fault See other posts from Server Fault or by Billiam
Published on 2010-12-29T06:31:53Z Indexed on 2010/12/29 6:55 UTC
Read the original article Hit count: 207

Filed under:
|
|

I recently bought new hard drives for my NAS. This means that I'm copying all the data off the NAS, upgrading it, and then moving the data back.

I've gotten as far as copying the data from the NAS, but every file's modified/created date has been changed to when it was copied (today).

Is there a way, keeping in mind that I have the original data, to batch update the modified/created dates on the copied files without having to copy them over again (we're talking over a terabyte of data)?

© Server Fault or respective owner

Related posts about nas

Related posts about copy