File synchronization tool
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| 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. |
