|
|
@@ -0,0 +1,17 @@ |
|
|
|
#!/usr/bin/python |
|
|
|
#coding=utf-8 |
|
|
|
import argparse |
|
|
|
import os |
|
|
|
|
|
|
|
# Training settings |
|
|
|
parser = argparse.ArgumentParser(description='test copy big file') |
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
args, unknown = parser.parse_known_args() |
|
|
|
print("--------begin 查看/tmp/dataset目录") |
|
|
|
os.system("cd /tmp/dataset; ls -al") |
|
|
|
print("--------end-----------") |
|
|
|
|
|
|
|
print("--------begin 拷贝/tmp/dataset下的内容到/tmp/output目录,并ls:") |
|
|
|
os.system("cd /tmp/output; cp -rf /tmp/dataset/* .; ls -al") |
|
|
|
print("--------end-----------") |