Created
June 3, 2014 13:05
-
-
Save b0n/3b9c0dd188a4799b2af8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/opt/local/bin/python2.7 | |
import os | |
import shutil | |
f = open('cp.sh', 'r') | |
for line in f: | |
f = line.rstrip("\n") | |
d = "2014060302/" + os.path.dirname(line) | |
print f | |
#print d | |
shutil.copy(f, d) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment