diff --git a/scripts/convert-to-greyed-out-image.sh b/scripts/convert-to-greyed-out-image.sh new file mode 100644 index 00000000..83a3081a --- /dev/null +++ b/scripts/convert-to-greyed-out-image.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +in=$1 +out=`echo $1 | sed 's/\.\([^.]\+$\)/-greyed-out.\1/'` +#convert -monochrome $in $out +#convert -monochrome -opaque \#e5e5e5 $in $out +#convert -modulate 100,40 $in $out +#convert +level 25% $in $out +convert +level 30% $in $out + + +# ------------------------------------------------ +#convert small.miff -modulate 100,40 small-grey.miff +#montage -fill black -font $P/LucidaGrande.ttf -pointsize 10 -geometry +0+0 -label "${LABEL}" -background transparent small-grey.miff small-text.png +#composite -size 48x48 xc:$BGCOL -compose copy small-text.png mask.miff +#composite small-text.png -compose atop mask.miff apmask.miff + diff --git a/scripts/upload.sh b/scripts/upload.sh index c44ddfad..a18c2133 100644 --- a/scripts/upload.sh +++ b/scripts/upload.sh @@ -316,6 +316,7 @@ fi eval `parse_target $target` case $method in rsync_ssh) + tmp_dir=/tmp/$login/rsync-ssh ssh_mkdir $target_file $file_owner $file_group $dir_mode || break /usr/bin/rsync -az --links -e "$SSH -l $login $IDENTITY" $source $login@$host:$target_file ssh_chown $target_path $file_owner $file_group