Create a .tar.gz file in AEM | Community
Skip to main content
Level 4
January 18, 2023
Solved

Create a .tar.gz file in AEM

  • January 18, 2023
  • 1 reply
  • 1198 views

Hello Team,

 

We need to create a .tar.gz file in AEM. This tar gz file will have two or three dam assets and we want to put this back in dam again.

 

any pointers/references will help.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kiran_Vedantam

Hi @vishwanath881 

 

Please find the API related to creation of gz file

https://stackoverflow.com/questions/43735272/java-how-to-decompress-files-zip-or-tar-gz-with-low-memory-usage

 

When it comes to pushing the file back to AEM, you can use assetManager API.

 

Hope this helps!


Thanks,
Kiran Vedantam.

1 reply

Kiran_Vedantam
Community Advisor
Kiran_VedantamCommunity AdvisorAccepted solution
Community Advisor
January 18, 2023

Hi @vishwanath881 

 

Please find the API related to creation of gz file

https://stackoverflow.com/questions/43735272/java-how-to-decompress-files-zip-or-tar-gz-with-low-memory-usage

 

When it comes to pushing the file back to AEM, you can use assetManager API.

 

Hope this helps!


Thanks,
Kiran Vedantam.

Level 4
January 23, 2023