Extensions:2.6/Py/Scripts/Import-Export/BlendFile Utils
< Extensions:2.6 | Py | Scripts | Import-Export
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 blendfile_pack.py 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...
/usr/share/blender/2.77/scripts/addons/io_blend_utils/__init__.py
In the same directory is the script,
cd /usr/share/blender/2.77/scripts/addons/io_blend_utils ./blendfile_pack.py --help
Will show the output:
usage: blendfile_pack.py [-h] -i FILE -o DIR [-m MODE] [-q] [-t DIR] Run this script to extract blend-files(s) to a destination path: blendfile_pack.py --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