comparison 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
comparison
equal deleted inserted replaced
21:d6b961721037 22:95a05c1ef5d5
1 #!/usr/bin/env python
2
3 import shutil
4 import sys
5
6 if len(sys.argv) != 3:
7 print >> sys.stderr, 'Usage: %s <src> <dst>' % sys.argv[0]
8 sys.exit(1)
9
10 src, dst = sys.argv[1:3]
11 shutil.copy2(src, dst)