Created
September 6, 2019 13:00
-
-
Save knennigtri/ad72795cda129c33277cb444d0b1516e to your computer and use it in GitHub Desktop.
content package install script using AEM package manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
dir="internal" | |
for file in `find $dir -type f` | |
do | |
filename=`basename $file`; | |
echo $file | |
curl -u admin:admin -F package=@$file http://localhost:4502/crx/packmgr/service/.json/?cmd=upload | |
done | |
dir="external" | |
for file in `find $dir -type f` | |
do | |
filename=`basename $file`; | |
echo $file | |
curl -u admin:admin -F package=@$file http://localhost:4502/crx/packmgr/service/.json/?cmd=upload | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment