diff --git a/gpu/train_for_c2net_cpbigfile.py b/gpu/train_for_c2net_cpbigfile.py new file mode 100755 index 0000000..7ce3880 --- /dev/null +++ b/gpu/train_for_c2net_cpbigfile.py @@ -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-----------") \ No newline at end of file