脚本未列出目录中的所有文件 [英] Script not listing all the files in the dir

查看:115
本文介绍了脚本未列出目录中的所有文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨脚本似乎工作正常与列表文件读取目录但我有一个数千个文件的目录,它不搜索所有文件,当我做读取目录的打印它出现不到落后。有人可以帮助我,不知道代码中哪个部分有问题。需要阅读并搜索整个目录

Hi The script seems to be working ok with a list files to read a dir from but i got a dir with thousands of files and it does not search through all files, when i do a print of the read dir it comes up with less than ahindred. Could some one please help me, not sure which part is wrong in the code. Need it read and search the whole dir

展开 | 选择 | Wrap | 行号

推荐答案

此行已跳出我:

this line jumped out at me:

展开 | 选择 | Wrap | 行号


有趣的原因我是这样做的我以为我必须把每个条件分开。非常感谢我的帮助我会尝试吗?
Interesting The reason i did it like that was I thought i had to separate each condition. Great thanks for the help I will try that?


嗨凯文

好​​吧,奇怪的是我编码你告诉我的正确方式。
Hi Kevin
ok the strange thing is when I coded the correct way you told me.
展开 | 选择 | Wrap | 行号


这篇关于脚本未列出目录中的所有文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆