Skip to content

Instantly share code, notes, and snippets.

@blackspike
Created April 14, 2017 15:34
Show Gist options
  • Save blackspike/cb60473be8ce419f67b991c03f88ac02 to your computer and use it in GitHub Desktop.
Save blackspike/cb60473be8ce419f67b991c03f88ac02 to your computer and use it in GitHub Desktop.
for f in "$@"
do
FILE_NAME=$(basename "$f" .blend)
NOW="$(date +"%Y-%m-%d %H-%M-%S")"
/Applications/Blender.app/Contents/MacOS/blender "$f" -b -o "//$FILE_NAME $NOW " -f 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment