view cp.py @ 36:51cd0307fb70

Phylip's extra ouputs are now stored in the job working directory
author Richard Burhans <burhans@bx.psu.edu>
date Wed, 20 Nov 2013 16:32:01 -0500
parents 95a05c1ef5d5
children
line wrap: on
line source

#!/usr/bin/env python

import shutil
import sys

if len(sys.argv) != 3:
    print >> sys.stderr, 'Usage: %s <src> <dst>' % sys.argv[0]
    sys.exit(1)

src, dst =  sys.argv[1:3]
shutil.copy2(src, dst)