Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Archiving multiple files in S3

Hi,

I am trying to archive the files present in S3 to a new folder appended with current date.

I need to create a new folder in the same bucket and move all the files starting with XXX to that folder.

Could anyone please suggest an approach to achieve this.

 

Thanks in advance!

 

Alekhya.

Labels (1)
6 Replies
Anonymous
Not applicable
Author

Hi,

 

    If a folder is not present, it will be automatically created during Put event using tS3Put command.

0683p000009M4EG.png

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Anonymous
Not applicable
Author

Thanks for the reply.

But, my requirement is to move the files(already present in S3 in a Source folder) to a new folder(to be created from Talend whose name should be appended with sysdate).

Anonymous
Not applicable
Author

Hi,

 

    There are no components right now which can move the data directly within S3. You will have to use Get and Put combination.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Anonymous
Not applicable
Author

Thank You Nikhil.

But, can I move multiple files(placed in a folder) at once?

 

Thank You,

Alekhya.

Anonymous
Not applicable
Author

Hi,

 

    You will have to do it in iterative fashion. First you will have to list the components and pick the files which you need to move (Or have the list handy by any other method). Then iteratively, you can move the files one by one using Get and put commands.

 

    Ideally you should target the final resting place in S3 when you are moving the files from source itself since each transfer will increase your cost in AWS. So I would consider rewriting the first loading program itself to arrange the files in systematic way so that later file movements are not required.

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Anonymous
Not applicable
Author

@alekhyak 

 

Hi,

 

Hope I have answered your queries related to this post. If you do not have any outstanding query, could you please mark the topic as resolved? 🙂

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂