text: import os
  import shutil
  #import moxing as mox
  
  #mox.file.copy_parallel('s3://zhang-ming-xing/twoimport/checkpoints', 'checkpoints/')
  
  path = 'checkpointsce/20211130-1900/'
  wenjian = sorted(os.listdir(path))
  '''
  for i in range(len(wenjian)):
      step = int(wenjian[i].split('-')[1].split('.')[0])
      for j in range(0, 130, 1):
         if step / 2130 == j:
              if not os.path.exists(path + str(j) + '/'):
                  os.makedirs(path + str(j) + '/')
              shutil.move(path + wenjian[i], path + str(j) + '/')
  '''
  for i in range(len(wenjian)):
      shutil.copy('checkpoint', path + wenjian[i])
  
  for i in range(len(wenjian)):
      geditpath = path + wenjian[i] + '/' + 'checkpoint'
      ckptpath = sorted(os.listdir(path + wenjian[i]))
      for j in range(len(ckptpath)):
          step = int(ckptpath[1].split('-')[1].split('.')[0])
      with open(geditpath, 'w') as f:
          f.write('model_checkpoint_path: "model.ckpt-' + str(step) + '"')
      f.close
  
  for i in range(len(wenjian)):
      shutil.copytree('test', path + wenjian[i] + '/' + 'test')
  