#!/bin/sh

#set -x

pwd=$(readlink -f $(dirname $0))

[ -z "$1" ] && printf "\nUsage: $0 <temp. dir>\n\n" && exit 1

rsync -a "$pwd" "$1" --exclude .git --exclude docs

echo
echo "Put this to your crontab:"
echo "    @reboot $pwd/$(basename $0) $1"
echo
echo "Run picay in crontab with this:"
echo "    * * * * * sh $1/picay/picay.sh >/dev/null"
echo

Add script to run from ram disk
Add script to run from ram disk
