MusicSync
MusicSync synchronizes music on a portable media player or other disk based device with a master music library. Technically, MusicSync can be used to synchronize any kind of file, but it was written only with music files in mind.
MusicSync was originally written in PHP, but was rewritten in Ruby beginning with version 1.0.1. It is available both in source form and as a standalone Windows executable.
Requirements (source version only)
- Ruby 1.8.1+
- Getopt::Declare 1.09.6+
Downloads
Latest Version
- musicsync.exe v1.0.1 (Win32 EXE - released Mar 7, 2005)
- musicsync.rb v1.0.1 (Ruby source code - released Mar 7, 2005)
Old Versions
- musicsync.php v1.0.0 (released Feb 19, 2005)
CVS
The latest development version can be found in CVS. MusicSync’s CVS module is named “musicsync”. See Using CVS for detailed instructions.
Links
Usage
Synopsis
musicsync [options] -s <dir> -d <dir>
musicsync -help
musicsync -version
Required Parameters
| Name | Argument | Description |
|---|---|---|
| -s | <dir> | Source directory (the directory containing the most up-to-date files). If the path contains spaces, enclose it in quotes (i.e., “C:\My Music”). |
| -d | <dir> | Destination directory (the directory containing files that are likely to be out of sync). If the path contains spaces, enclose it in quotes (i.e., “D:\Portable Music”). |
Options
| Name | Argument | Description |
|---|---|---|
| -e | <ext>... | Only synchronize files with the specified extension(s). If this option is not provided, a default internal list of music file extensions will be used. Separate multiple extensions with spaces (i.e., “mp3 ogg wav”). |
| -i | <filename> | Ignore (do not synchronize) files or directories listed in the specified text file. List one file or directory name per line. Wildcards are supported. |
| -q | Run in quiet mode. Only errors are reported. | |
Examples
- Synchronize only MP3, OGG, and WAV files in
d:\with the master copies inc:\music:
# musicsync -e mp3 ogg wav -s c:\music -d d:\
- Synchronize music files in
d:\with the master copies inc:\music, but ignore files matching the patterns listed inignore.txt:
# musicsync -i ignore.txt -s c:\music -d d:\
- Same as above, but in quiet mode:
# musicsync -i ignore.txt -q -s c:\music -d d:\
Copyright
Copyright © 2005 by Ryan Grove. All rights reserved.
MusicSync is open source software distributed under the terms of the GPL.