#!/bin/sh echo "$1" | grep datapackage || exit 0 # nothing to do cd $(dirname $1) zip experience.zip *.glb ln -s datapackage.json index.json