File shares date modified

We recently moved all our fileshares to a EMC VNXe 3200 san.  One of the functionalities of this san is deduplication.  Unfortunatly i had forgotten about this feature and my boss noticed that there are blue compressed files.  So I ran a script to uncompress these files.  The issue we are having is by changing the compression it changes the date modified to 8/27/2015.  Some of our files are 10 years old and we use the date modified to filter through our file shares.  So I restored a backup to an external drive before the changes were made but need a script or utility to  filter out files with date modified of 8/27/15 and compare sizes with old backup and replace current with old backup if the size is the same.  Does anyone have any suggestions on how this can be done?
Hani DiraniNetwork EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lionel MMSmall Business IT ConsultantCommented:
Why not do a backup to the new location for the files, have the drive/folder preset for compression and then the dates should not change. Test it out for just a few files to see if I am right or not.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
You can't use file dates as completely reliable markers for sorting.  You need to embed the date in the file name as an additional safety.  There are actually 3 time stamps on every file.  You can set the file and folder dates to whatever you want, if you know how to program.

Record the date of the file before you decompress, then set the dates to the old dates.  On unix/linux/osx systems, there is the included touch command to set all 3 time stamps.  The access time will always update when you manipulate the file.  On windows you have to download a 3rd party utility or learn to program.  If you have a linux/unix/osx system that mounts your Windows folders through SMB, you can also just touch the files to whatever date you want.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Storage Software

From novice to tech pro — start learning today.