#coding:utf-8
import os
import shutil
def main():
while True:
filepath = 'E:/phpstudy_pro/WWW/plugins/'
for parent, dirnames, filenames in os.walk(filepath, followlinks=True):
#print (filenames)
for filename in filenames:
if filename=='imtest.zip':
shutil.copy(filepath+filename,'d:/')
print ('------------>ok')
else:
pass
if __name__ == '__main__':
main()
本文标题: | [文件检测]拼手速复制 |
本文链接: (转载请附上本文链接) | https://vulsee.com/archives/vulsee_2022/0302_16185.html |