[Bf-education] Bf-education Digest, Vol 64, Issue 2

Caldwell, John W. caldwell at dadeschools.net
Wed Feb 9 15:20:01 CET 2011


I feel your pain.


-----Original Message-----
From: bf-education-bounces at blender.org on behalf of bf-education-request at blender.org
Sent: Wed 2/9/2011 6:00 AM
To: bf-education at blender.org
Subject: Bf-education Digest, Vol 64, Issue 2
 
Send Bf-education mailing list submissions to
	bf-education at blender.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.blender.org/mailman/listinfo/bf-education
or, via email, send a message with subject or body 'help' to
	bf-education-request at blender.org

You can reach the person managing the list at
	bf-education-owner at blender.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bf-education digest..."


Today's Topics:

   1. blender command line save options (B?la J?nos)


----------------------------------------------------------------------

Message: 1
Date: Tue, 8 Feb 2011 11:16:27 +0000
From: B?la J?nos <szepibux at gmail.com>
Subject: [Bf-education] blender command line save options
To: bf-education at blender.org
Message-ID:
	<AANLkTimGv_nP8qu06boXo2qjAJK3zzyLHCBjmK=Z5Zfw at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Dear All,

I'm writing a shell script for the blender, but I've some trouble whit it.
The important script part is this:

for i in ${SEQUENCE}
do
    echo Next frame to render: ${i}
    COMMAND="./blender -b ${INPUT_FILE} -o /home/viktor_64/Desktop/ldd/ -F
PNG -x 0 -f ${i}"
    j=`(printf "%d" "${i}")`
    FILE_LIST="${FILE_LIST} ${i}"
    echo Blender command:${COMMAND}
    ${COMMAND}
    mv ${i} ${j}
done

After running this the output is named to 0001 and the program terminate
because, the mv command cannot rename the file, and it is terminated.
I don't know why is the output 0001. How can I fix this?
I've try to modify the mv to
mv "*.PNG" ${j}
but it also didn't work. I think the command above is wrong cuz it try to
rename multiply file to the same name and this is not possible, but I'm out
of ideas.
Any other suggestion??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-education/attachments/20110208/c3ea21ba/attachment.html 

------------------------------

_______________________________________________
Bf-education mailing list
Bf-education at blender.org
http://lists.blender.org/mailman/listinfo/bf-education


End of Bf-education Digest, Vol 64, Issue 2
*******************************************

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3909 bytes
Desc: not available
URL: <http://lists.blender.org/pipermail/bf-education/attachments/20110209/d8e77bb3/attachment.bin>


More information about the Bf-education mailing list