Create folder and rename if another has the same name

Create folder and rename if another has the same name and contains at least one file.
241 descargas
Actualizado 28 may 2013

Ver licencia

USAGE
create_folder(newdir)

Folder "newdir" will be created.

If there is already a folder named "newdir" with any file regardless of the level, it will be renamed to "newdir-backup" (or "newdir-backup02",
"newdir-backup03", ...).

If "newdir" is empty or contains only folders, nothing is done.

Citar como

Guilherme Coco Beltramini (2024). Create folder and rename if another has the same name (https://www.mathworks.com/matlabcentral/fileexchange/41944-create-folder-and-rename-if-another-has-the-same-name), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2010a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre File Operations en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0