view cp.py @ 22:95a05c1ef5d5

update to devshed revision aaece207bd01
author Richard Burhans <burhans@bx.psu.edu>
date Mon, 11 Mar 2013 11:28:06 -0400
parents
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)