Files to folders based on properties
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.
Citation pour cette source
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. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
Inspiré par : List of files from directories/files list or browser, folders sub-folders, Folders tree files list
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
files 2 folders by properties/
Version | Publié le | Notes de version | |
---|---|---|---|
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 |