add recursive option to snapshots