View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

5.0 | 1 rating Rate this file 1 Download (last 30 days) File Size: 4.79 KB File ID: #20635 Version: 1.0



Ikaro Silva (view profile)


09 Jul 2008 (Updated )

Simple wrapper to XCOPY function for backing up folders. Changes the file archive attributes and ca

| Watch this File

File Information

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:

MATLAB release MATLAB 7.0.1 (R14SP1)
Other requirements windows
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
25 Aug 2011 Wade

Wade (view profile)

The functionality of this function is exactly what I was looking for. Contains a lot of low-level options. Seems very robust.

11 Jul 2008

Fixed minor issues and added three functionalities:

'find' -finds unique files between directories
'arch' -set the archive attribute to ON on files from unique files

'sync' -updtes both directories with most recent files from both.

11 Jul 2008

Fixed minor issues and added three more modes (find, arch, and sync).

Contact us