You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Find duplicate files (https://in.mathworks.com/matlabcentral/fileexchange/50166-find-duplicate-files), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: getfiles.m
General Information
- Version 1.0 (3.52 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0 |
|
