backup

Simple wrapper to XCOPY function for backing up folders. Changes the file archive attributes and ca
1.3K Downloads
Updated 15 Jul 2008

View License

This is a wrapper to the XCOPY commnand, with the four different modes:

prune -updates backup dir and delete files on the back up dir that do not exist on the original dir.

find -find unique files in backup dir

arch -set archive attb. to ON for files on the original dir that do not exist on the backup dir.

sync -updates BOTH directories with the newest files from EITHER directory.

Options that can be set for the XCOPY command are listed at and on the help for this function:

http://www.computerhope.com/xcopyhlp.htm

Cite As

Ikaro Silva (2024). backup (https://www.mathworks.com/matlabcentral/fileexchange/20635-backup), MATLAB Central File Exchange. Retrieved .

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

file was not fully uploaded with the last update