...
Info |
---|
This will only work for single files like movie files |
Send Python Job to Deadline renderfarm
Code Block |
---|
# Exec:
/opt/Thinkbox/Deadline10/bin/deadlinecommand
#Params:
-SubmitCommandLineJob -executable "/usr/bin/python" -arguments "/foo/bar/my_script.py <source.path> <path>" -frames 1 -chunksize 1 -name "das element" |
The python script could look something like this:
Code Block | ||
---|---|---|
| ||
import sys
import shutil
def main( *args ):
source_path = args[0][0]
new_element_path = args[0][1]
shutil.copy2(source_path, new_element_path)
if __name__ == '__main__':
main(sys.argv[1:]) |