Find duplicate files
Version 1.0 (3.52 KB) by
Adam Danz
Scans and find duplicate files of a given extension in a given directory
Given a file extension ('*.m' or '*.mat' etc.) and a directory (path), this script will scan the directory and all sub-directories for duplicate file names. It will provide a list of duplicate file names and their paths. It is helpful when you have multiple m files, for example, that have the same name and could conflict with each other.
Cite As
Adam Danz (2024). Find duplicate files (https://www.mathworks.com/matlabcentral/fileexchange/50166-find-duplicate-files), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on File Operations in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: getfiles.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0 |
|