Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Create a .tar.gz file in AEM

Avatar

Level 4

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.

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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-mem...

 

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

 

Hope this helps!


Thanks,
Kiran Vedantam.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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-mem...

 

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

 

Hope this helps!


Thanks,
Kiran Vedantam.