[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] optional input/output files



Would using a wrapper script with condor_chirp to change transfer_output_files work?

I'm not actually sure. What would work is specifying a new directory (say 'output') as the job's output and mv'ing everything you want to keep in there after analysis_program finishes:

#!/bin/bash
mkdir output
analysis_program
RV=$?
mv everything interesting/file output
# We don't care if this fails; it's optional
mv maybe_missing_dir output
exit $RV