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.0 次下载
更新时间 2013/5/28

查看许可证

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.

引用格式

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. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 File Operations 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0