Compare two folders and write the matching files to the third folder

1 vue (au cours des 30 derniers jours)
Sivaramakrishnan Rajaraman
Sivaramakrishnan Rajaraman le 28 Août 2018
Réponse apportée : M le 28 Août 2018
I have folder 1 with 1000 files and folder 2 with 500 files. There are matching file names in both folders, however, the contents are different. I would like to write the matching file names and it’s contents from folder1 to the third folder say folder3. How can I do it using Matlab?

Réponses (1)

M
M le 28 Août 2018
Have a look at the functions dir and exist.

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by