view cp.py @ 38:9d0b1fa77047

Changed simplejson to json
author Richard Burhans <burhans@bx.psu.edu>
date Fri, 28 Feb 2014 12:15:32 -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)