File synchronization tool

Update recently modified files between two computers using a USB memory stick.
2K Downloads
Updated 30 May 2007

No License

This file is designed to synchronize data between two computers using a USB key. I wrote this bit of code to carry school related work back and forth between my home and office computers and keep complete copies of all data on both.

It only updates files that have been modified since the last update.

Be aware that a file with a more recent modified date automatically overwrites existing files. If you attempt to overwrite an existing file with an older file, however, a message is displayed to confirm the overwrite.

To execute, simply run "filesync" from the Matlab command line.

Cite As

Jesse Norris (2026). File synchronization tool (https://www.mathworks.com/matlabcentral/fileexchange/14557-file-synchronization-tool), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Startup and Shutdown in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

The Matlab genpath command skips class method directories (i.e. those beginning with the @ symbol) and 'private' directories.

I've included a genpath sub-function in the filesync m-file to copy modifications that occur in these directories.