Unfortunately, the instance that caused the question is a directory and there's a lot more files the program creates in the top directory.
Would using a wrapper script with condor_chirp to change transfer_output_files work? If I'm doing a wrapper script, I could probably just tar the output files at the cost of extra disk space.
#!/bin/bash
analysis_program
if [ -d optfolder ]
then
condor_chirp set_job_attr transfer_ouput_files "resultsfolder,optionalfolder"
fi
klint.
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Jaime Frey via HTCondor-users <htcondor-users@xxxxxxxxxxx>
Sent: Saturday, 20 January 2024 2:54 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx> Cc: Jaime Frey <jfrey@xxxxxxxxxxx> Subject: Re: [HTCondor-users] optional input/output files If you leave transfer_output_files unset, then all files in the jobâs working directory that were created or modified while the job ran are transferred back (files in sub-directories are ignored).
- Jaime
|