#!/bin/bash # diff production and development static folders ALL=$1 PROD_STATIC="_public_html/static" DEV_STATIC="project/static" if [ "$ALL" = "--all" ]; then EXCLUDE="" else EXCLUDE="-x cms -x admin -x admin_tools -x debug_toolbar -x tiny_mce -x filebrowser -x django_extensions" echo "# exclude =" ${EXCLUDE} fi diff -q -r ${EXCLUDE} ${PROD_STATIC} ${DEV_STATIC}