Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to download Asset Folders from AEM Assets 6.1

Alvin_Parreno
Level 3
Level 3

Hi All,


I'm new to AEM. I need to extract/download all folders under /content/dam/ . How can I do this using AEM 6.1 ? I am accessing this via damadmin and have the admin credentials.Download button is not available when I highlight a folder. I'm accessing AEM Asset using web (chrome).  Please help. Thank you!

dali3.png

dali4.png

1 Accepted Solution
smacdonald2008
Correct answer by
Level 10
Level 10
15 Replies
ukgaurav
Employee
Employee

One of the options could be to navigate to /crx/packmgr and create package with your filter and download zip file. Thanks

Alvin_Parreno
Level 3
Level 3

Hi ,


Can you guide me the right path? I am totally new to AEM. how can I create package? Sorry for a noob question. Thank you

Alvin_Parreno
Level 3
Level 3

Hi ,


I can't download  the files. I added the rule /content/dam/folder(/.*)  . Am I doing it right? Thank you

Alvin_Parreno
Level 3
Level 3

Hi Jörg Hoh​, can you help me with this one too? Thank you

Jörg_Hoh
Employee
Employee

When you have added the rule to the package definition, you need to rebuild and then download it.

smacdonald2008
Correct answer by
Level 10
Level 10
Alvin_Parreno
Level 3
Level 3

Hi smacdonald2008​, this is what I looking for. We have managed to build atleast one of our folders and its content. Thank you!

Alvin_Parreno
Level 3
Level 3

Hi smacdonald2008​ , just want to ask if there is any other way to download the build folder rather than downloading it via web? The file size of the build folder is too huge to download it via browser. Thank you

Jörg_Hoh
Employee
Employee

Build smaller packages? Download it from the server directly (where bandwidth shouldn't be a problem). I am not aware of a function "download as file on the server".

Jörg

Alvin_Parreno
Level 3
Level 3

Download from the server directly seems the best option. I have the ssh key but where can I locate the build packages? Thank you

Alvin_Parreno
Level 3
Level 3

Hi Jorg,

I have manage to download package from server using curl command:

curl -u admin:admin http://localhost:4505/etc/packages/export/name_of_package.zip > name of local package file

Just want to ask if how can I access the package from my local machine?

Alvin_Parreno
Level 3
Level 3

ahh I managed to find the file where I executed the curl command. Thank you