Code covered by the BSD License  

Highlights from
backup

5.0

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

backup

by

 

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
Description

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

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

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

Updates
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