#! /usr/bin/env python

"""
Simple script to copy all reports from the ssh.
"""

import os
import sys

os.system('echo Test')
print 'Copy files ...'

directory = 'simple-eval' if (len(sys.argv) < 3) else sys.argv[2]

command = 'scp bufmar00@login-infai.scicore.unibas.ch:~/msc_project/experiments/marvin/data/' \
    + directory + '/'
files = ['report.html', 'summary_blind.html', 'summary_max.html', 'summary_hm.html', 'summary_lmcut.html']
files = ['properties', 'report.html']
name = sys.argv[1]

for f in files:
    print command + f
    os.system(command + f + ' ' + name + '_' + f)


print 'Files copied!'
