vendredi 29 juillet 2016

List of pairs, find those who are not

I read a list of pairs in the filesystem (Linux)... UniqueDocument.xml UniqueDocument.pdf

I need to find the entries that does not have a xml file, then I need to fetch it.

Been trying with os.list and regex but havent found a sutible solution and Dir() in Ruby. But I cant get to the end... my mind blocks me.

Aucun commentaire:

Enregistrer un commentaire