...
 
Commits (2)
......@@ -3,7 +3,7 @@
cd "$( dirname "${BASH_SOURCE[0]}" )"
cat index.header > images.html
ls | grep -v 'pan-' | grep -v 'atlas-' | grep -v 'titan-' | grep -i -e 'png$' -e 'jpg$' -e 'gif$'| while read FILE; do
ls | grep -v -e 'prox-' -e 'private-' -e 'ganymede-' -e 'io-' -e 'silicon-' -e 'zinc-' -e 'gus-' -e 'carbon-' -e 'callisto-' -e 'pan-' -e 'atlas-' -e 'titan-' | grep -i -e 'png$' -e 'jpg$' -e 'gif$'| while read FILE; do
if ! [ -f "thumbs/$FILE" ]; then
#echo "creating thumbnail - $FILE";
convert "$FILE" -resize 500x500 "thumbs/$FILE"
......
......@@ -2,3 +2,5 @@
cd "$( dirname "${BASH_SOURCE[0]}" )"
rsync -av . io:/var/www/files.derf.us/
ssh io "sudo chmod go+rwx /var/www/files.derf.us/"