Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
Hi,
If a folder is not present, it will be automatically created during Put event using tS3Put command.
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 🙂
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).
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 🙂
Thank You Nikhil.
But, can I move multiple files(placed in a folder) at once?
Thank You,
Alekhya.
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 🙂
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 🙂