This functions goal is to reorganize the user chosen files into folders. The file are organized based on user defined file property values. Each such property results in a folder populated by the files, with such a value of that property.
I've written this function to make the task of arranging my camera photos by their date into appropriate folders automatically- this allows me to invest a little effort into ordering all those photos I'm having every few weeks. Naturally it combines files from different sources (cameras in my case).
But as mentioned above using the date is only the tip of the iceberg. You can use Go location (when available) image/video frame dimensions, file size, and any other file property!
The function inputs are defined in pairs- "parameter name" followed by parameter value, where parameters ordering is not important. Each parameter can be omitted. In such a case default values will be used.
Nikolay S. (2024). Files to folders based on properties (https://www.mathworks.com/matlabcentral/fileexchange/41431-files-to-folders-based-on-properties), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!