Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

This will only work for single files like movie files
The cp (for Linux)/copy (for Windows) command can’t copy files sequences


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
languagepy
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:])