You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
649 B
18 lines
649 B
import os, sys, time, shutil, subprocess, shlex, json |
|
import platform |
|
if platform.system() == 'Windows': |
|
#sys.path.append('e:\\libs\\') |
|
sys.path.append('libs') |
|
else: |
|
sys.path.append('/data/deploy/make3d/make2/libs/') |
|
|
|
import config, libs, libs_db,common |
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
common.copy_remote_directory("172.31.1.11","D:\\7831","E:\\") |
|
# config.oss_bucket.delete_object(f'test/test_delete') |
|
# #删除oss 上的文件夹里的内容 |
|
# object_list = oss2.ObjectIterator(config.oss_bucket, prefix='test/test_delete/') |
|
# result = config.oss_bucket.batch_delete_objects([obj.key for obj in object_list])
|
|
|