source:
pypar/contrib/copy2bergen
@
659
Last change on this file since 659 was 85, checked in by ole, 19 years ago | |
---|---|
File size: 203 bytes |
Line | |
---|---|
1 | #!/usr/bin/env python |
2 | # |
3 | # Copy all files in this dir to bergen |
4 | |
5 | import sys, os |
6 | |
7 | dir = os.getcwd() |
8 | user = os.environ['USERNAME'] |
9 | host = 'bergen' |
10 | |
11 | s = 'scp * %s@%s:%s' %(user,host,dir) |
12 | print s |
13 | os.system(s) |
Note: See TracBrowser
for help on using the repository browser.