Browse Source

add script

master
wjtest001 2 years ago
parent
commit
b7ef54a340
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      gpu/train_for_c2net_cpbigfile.py

+ 17
- 0
gpu/train_for_c2net_cpbigfile.py View File

@@ -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-----------")

Loading…
Cancel
Save