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.
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Agradecimientos
Inspirado por: 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!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.