#!/bin/bash od=`pwd` rm -rf /tmp/memories mkdir -p /tmp/memories cp -R appinfo css img js lib templates COPYING README.md exiftest* composer* /tmp/memories cd /tmp rm -rf memories.tar.gz tar -zvcf memories.tar.gz memories/ rm -rf memories cd $od mv /tmp/memories.tar.gz .