In �Source� directory there is a lot's of files, with extensions (doc, docx , ppt, xls,...).
In �Destination� directory only pdf version of (doc, docx) files that exist in source stored.
Now I want to create script that use �diff� command check �source� and get list of only (doc, docx) files after that look for related pdf file in �Destination� if pdf version of (doc, docx) not exist in �destination� store list of them on a file.
Good find, but: it will run 9 external commands and thus use approx. the fivefold time, and, as is, it won't confine itself on .doc[x]? and .pdf files.