From BlenderWiki

Jump to: navigation, search

Blend File Utils

This adds the ability to pack blend files (recursively), including their libraries - into a zip file.

Access data packing from File -> External Data -> Pack Blend to Archive.

This will show output in the info header, you may press Escape to cancel.

For automated exporting for render-farms, you may prefer to access this from the command line.

This can be done by running directly (runs outside of Blender and in fact only depends on Python3).

Find the location of the addon:

blender --background --python-expr "import io_blend_utils; print(io_blend_utils.__file__)"

Will print something like...


In the same directory is the script,

cd /usr/share/blender/2.77/scripts/addons/io_blend_utils
./ --help

Will show the output:

usage: [-h] -i FILE -o DIR [-m MODE] [-q] [-t DIR]

Run this script to extract blend-files(s) to a destination path: --input=FILE --output=FILE [options]

optional arguments:
  -h, --help            show this help message and exit
  -i FILE, --input FILE
                        Input blend file
  -o DIR, --output DIR  Output file
  -m MODE, --mode MODE  Type of archive to write into
  -q, --quiet           Suppress status output
  -t DIR, --temp DIR    Override the default temp directory