Files to folders based on properties

Groups files into folders based on user defined file properties.
589 Downloads
Updated 23 Aug 2015

View License

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.

Cite As

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
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on File Operations in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Some bug fixes, sub-function updates and code simplifications. Wait-bar is now file-size dependent, and thus more accurate.

1.0.0.0