Lines Matching +full:- +full:- +full:dest +full:- +full:dir
23 USAGE="""tko-publish [options] <resultsdir> <rsync-destination-path>
29 <rsync-destination-path> A valid rsync destination path where to upload the
33 RSYNC_COMMAND = 'rsync -aqz "%s" "%s"'
37 regex = re.compile('[1-9][0-9]*-')
40 for dir in os.listdir(path):
41 # skip directories not matching the job result dir pattern
42 if not regex.match(dir):
45 dir = os.path.join(options.resultsdir, dir)
46 if (os.path.isdir(dir)
47 and not os.path.exists(os.path.join(dir, PUBLISH_FLAGFILE))):
48 jobdirs.append(dir)
54 cmd = RSYNC_COMMAND % (jobdir, options.dest)
79 job_id = int(os.path.basename(jobdir).split('-')[0])
99 parser.add_option('--jobname-pattern', dest='jobname_pattern',
103 parser.add_option('--job-owner', dest='job_owner', default=None,
110 sys.exit(-1)
113 options.dest = args[1]