How to Unzip Files Without Changing LastModifiedDate

Ariel M 51 Reputation points
2023-06-01T23:34:47.5733333+00:00

How do you unzip folders without changing the LastModifiedDate of the files? I have multiple zipped folders. Each folder has 3 files (A.csv, B.csv, and C.csv). Each folder has a different LastModifiedDate.

Add copy task.
Set source to blob folder and set Import Schema to none.
Set the source dataset compression type to ZipDeflate(zip).
Set the sink to a blob folder and set Import Schema to none.

The results unzip the folders but change all the LastModifiedDate to today's date.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,128 questions
{count} votes