#!/bin/sh if [ -f $* ] then echo "$* already exists and is not a directory." exit 1 fi if [ -d $* ] then echo "$* already exists, using it." else echo "$* does not exist, creating it." mkdir $* fi ./synctree -s src -d $* | \ egrep -v '^processing|^Parsing'