#!/bin/bash # diff production and development static folders ALL=$1 PROD_STATIC="_public_html/static" DEV_STATIC="src/static" if [ "$ALL" = "--all" ]; then EXCLUDE="" else EXCLUDE="-x cms -x admin -x admin_tools -x debug_toolbar -x tiny_mce -x filer -x autocomplete_light -x ckeditor -x ckeditor_plugins -x cmsplugin_filer_folder -x djangocms_admin_style -x djangocms_text_ckeditor -x cms.ckeditor.css -x cms.ckeditor.js" echo "# exclude =" ${EXCLUDE} fi diff -q -r ${EXCLUDE} ${PROD_STATIC} ${DEV_STATIC}