This file contains hidden or 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 | |
# Convert Originals to Web Images | |
for IMAGE in `find ./orig -name "*.png"` | |
do | |
DEST_IMAGE=./web/`basename $IMAGE` | |
if [[ ! -e $DEST_IMAGE || $IMAGE -nt $DEST_IMAGE ]] | |
then | |
convert $IMAGE -verbose -compress jpeg \ | |
-quality 80 -bordercolor None -border 10x10 \ |
This file contains hidden or 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 | |
# Argument = -h -v -i groupId:artifactId:version -c classifier -p packaging -r repository | |
#shopt -o -s xtrace | |
# Define Nexus Configuration | |
NEXUS_BASE=http://repository.example.com:8081/nexus | |
REST_PATH=/service/local | |
ART_REDIR=/artifact/maven/redirect |
NewerOlder