Skip to content

Exercise 2c: Rename The Output File

With the same script.sh script exercise 2a and submit description file exercise2a.sub, the transfer_output_remaps command can be added in the submit description file to rename the output file. Only the output file file2.txt will be transferred back but with a new name "remapedFile2.txt".

    executable              =  script.sh
    arguments               =  $(ClusterId)$(ProcId)
    output                  =  output/ex_02.$(ClusterId).$(ProcId).out
    error                   =  error/ex_02.$(ClusterId).$(ProcId).err
    log                     =  log/ex_02.$(ClusterId).log
    transfer_output_remaps  = "file2.txt=remapedFile2.txt"
    queue
Execute condor_submit exercise2a.sub to submit the job.

Note


Last update: November 26, 2019