Recursively copies files from specified source dirs to dest dir.
Updated 14 May 2003

No License

This function will recursively copy all the files listed in the source directory to the destination directory. Before copying, this function looks at the modification dates of files that are named the same to see if they need copying. This makes it useful as an automatic backup tool, as it can be run say once a week and it will only copy the files that have been modified.

Cite As

Matt Becker (2024). backup (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
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