Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Auto-sync files
From: Josh (rockbox-list_at_foxtail.org)
Date: 2003-05-10


Jim,

Thanks for the tip! Apparently I should have done less research and
more experimentation :) I had inferred from the Microsoft articles that
autorun wouldn't readily apply here since it is the device that is
removable and not the media. I tried the autorun.inf you suggested and
it launched a batch file successfully upon plug-in.

Using xcopy is a good idea as well, although for a bidirectional sync
you would have to execute it twice, i.e.
  xcopy c:\music\ j:\music\ /D /S /Y
  xcopy j:\music\ c:\music\ /D /S /Y ,
to account for cases like "Home <--> Archos <--> Work"

I'll write up a summary of this and submit it to the maintainer of the
manual -- if any Linux or Mac people want to send me the corresponding
steps for those platforms I will integrate them into my writeup as well.

Josh

On Fri, 9 May 2003, Jim Morgan wrote:

> At 06:58 PM 5/8/2003 -0700, you wrote:
> > > The iPod has a nice feature where as soon as you plug in to the
> > > computer, it automatically synchronizes the iPod with the PC. So for
> > > example if you rip or download some songs on the PC they would magically
> > > appear in the mp3 player next time you plugged in.
>
> Another alternative - bound to be an unpopular one in here - is to use
> xcopy. It isn't perfect, but it comes with windows and it can be tweaked
> with command line parameters to copy only the changed files etc. eg,
> assuming that your jukebox mounts on j:
>
> xcopy c:\music\ j:\music\ /D /S /Y
>
> Put this into a batch file, eg. updatejb.bat. To make this run
> automatically, I think all you'd need to do is put an autorun.inf file on
> the root of the drive. The file needs to contain the following lines:
>
> [autorun]
> open=updatejb.bat
> icon=whatever.ico
>
> Also, you need to make sure Autorun is turned on for the jukebox drive.
>
> Jim
>
>



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa