#!/usr/bin/env python3
# -*- coding:utf-8 -*-
import os
f = open('./list.txt', 'r', encoding='utf-8-sig')
allLines = f.readlines()
for line in allLines:
temp_line = line.strip('\n')
list_filename = temp_line.split(',')
print(list_filename[0])
print('cp -rf ' + './test1/' + list_filename[0] + ' ' + './test2')
os.system('cp -rf '+'./test1/' + list_filename[0] + ' '+'./test2')
linux下图片批量复制脚本
最新推荐文章于 2023-09-12 17:58:37 发布