Moving files after a copy from a blob storage

pmscorca 1,007 Reputation points
2024-05-31T18:28:12.14+00:00

Hi,

I've implemented a pipeline to read a set of txt files from a blob storage, searched by a certain string, and then to write them on a shared folder on-premise. For a such task I've used a copy activity.

Now, how I could move the copied files from the source container of the blob storage into another container? Does it exist any options in the copy activity?

Thanks

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,030 questions
0 comments No comments
{count} votes

Accepted answer
  1. Amira Bedhiafi 27,441 Reputation points
    2024-05-31T19:24:13.5333333+00:00

    The Copy Activity doesn't have a direct option to move files after copying them from one container to another. However, you can achieve this by using a combination of Copy Activity and Delete Activity.

    1. Copy Activity: Use this activity to copy the files from the source container to the destination (either on-premises or another blob container).
    2. Delete Activity: Use this activity to delete the files from the source container after they have been copied successfully.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.