CURRENT_DIR=`pwd` cd $WWW_PATH find js -name '*.pack.js' -type f -exec rm -f '{}' \; find js -name '*.pack.merge.js' -type f -exec rm -f '{}' \; find css -name '*.pack.css' -type f -exec rm -f '{}' \; find css -name '*.pack.merge.css' -type f -exec rm -f '{}' \; cd $CURRENT_DIR exit 0