Rockbox General > Rockbox General Discussion

Rockbox music sync

(1/5) > >>

w1ll14m:
I've created a little batch script for synchronizing my music to my Rock(i)Pod (5g)
it uses robocopy (from M$) to copy the files to the pod.

For the people who don't know robocopy:
It's a program for copying data from one location to another,
before it copies the files it checks for existing files that are identical.
The identical files won't be copied to the pod (saves a lot of time)
edited or replaced files will be synchronized. it's for windows
machines only so far :( I'll try to fix a *nix script to sync files to rockpod

I've made a little Autorun script (wich seems to be malfunctioning)
if anyone is interested let me know and I'll post a zip file with the contents.

Yotto:
For *nix, I just use cp -ru
For Windows, I use(d to use) xcopy /e /u which seems to do what you have robocopy doing.

bascule:

--- Quote from: Yotto on October 16, 2006, 02:28:03 PM ---For Windows, I use(d to use) xcopy /e /u which seems to do what you have robocopy doing.

--- End quote ---

That doesn't seem quite right... /u appears to force an update only:

--- Quote from: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/xcopy.mspx?mfr=true ---/u : Copies files from Source that exist on Destination only
--- End quote ---

This reads to me as if it will never transfer any new music to the player, no?

Yotto:
Sorry, haven't use Windows to copy lots of stuff in a while.  But I used to.  Maybe it was just xcopy /e and it just *knew* what to not copy. I don't remember.

bluebrother:

--- Quote from: Yotto on October 16, 2006, 02:28:03 PM ---For *nix, I just use cp -ru

--- End quote ---
on *nix rsync is in most cases a better alternative. The following line has been mentioned several times (syncs to the player only):

--- Code: ---rsync -avW --progress --size-only --delete /data/mp3/* /mnt/archos/
--- End code ---
rsync is also available on windows.

Navigation

[0] Message Index

[#] Next page

Go to full version