Moving files after a copy from a blob storage

pmscorca 1,052 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.
0 comments No comments
{count} votes

Answer accepted by question author
  1. Amira Bedhiafi 41,131 Reputation points Volunteer Moderator
    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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.