将文件夹中的jpg名称与csv或texr文件中的名称相匹配 [英] Match jpg names in folder to names in csv or texr file
本文介绍了将文件夹中的jpg名称与csv或texr文件中的名称相匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
希望将jpegs文件夹与相同jpeg名称的文本或csv文件进行匹配以进行比较和匹配。我找了一个月,找不到任何好的东西。有没有人知道这样做的方法?
我尝试了什么:
大多数比较工具。超比较,winmerge,比较它,超越cpmpare
Looking to match a folder of jpegs to a text or csv file of the same jpeg names to compare and match. I've looked for a month and can't find anything good. Does anyone know of a way to do this?
What I have tried:
most all compare tools. Ultra compare, winmerge, compare it, beyond cpmpare
推荐答案
PHP:scandir - 手册 [ ^ ]
PHP:str_getcsv - Manual [ ^ ]
PHP:array_diff - Manual [< a href =http://php.net/manual/en/function.array-diff.phptarget =_ blanktitle =New Window> ^ ]
PHP: scandir - Manual[^]
PHP: str_getcsv - Manual[^]
PHP: array_diff - Manual[^]
这篇关于将文件夹中的jpg名称与csv或texr文件中的名称相匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文