diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cp.py	Mon Mar 11 11:28:06 2013 -0400
@@ -0,0 +1,11 @@
+#!/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)