Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-05-2009, 12:30 PM   #1
Registered: Mar 2006
Location: Delft NL
Distribution: Debian; Slackware; windows 7
Posts: 218

Rep: Reputation: 53
update mp3 player with rsync

I have a large collection of music stored on an Archos Gmini X202s mp3 player stored at /media/disk20G/music/[Artist]/[Album]/[title].mp3

I have a smaller collection on my PC stored at ~/music/[Artist]/[Album]/[title].mp3

I use my PC to rip new music and then put it onto the player using cp. I also but music on from other PCs depending on where I am at the time.

I want to know will running

rsync -avh ~/music/ /media/disk20G/music/

save all my new music onto the player without affecting files that are already on both systems or files that are only on the player.

I have recently started using rsync for backups but in this case new files only occur on the system I'm backing up and not the backup location.

Is there any better programs for doing this task (I would like to stay on the CLI as much as possible)
Old 05-05-2009, 01:53 PM   #2
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 97
Should work fine - I use rsync for the same purpose (though I use the options -ravou, out of habit). If you want to synchronise both ways, I think you'd need to run it again with the filepaths switched round (maybe as a little script). There is also Unison, which does operate both ways, but I can't really vouch for it (never used it).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Portable MP3 player with corrupted mp3 files today53 SUSE / openSUSE 1 05-22-2006 09:24 AM
how to make a .mp3-player an .ogg-player? firmware available ungua Linux - Software 2 01-18-2006 10:54 AM
S1 Mp3 player (Help Create a New Distro for an MP3 player!)) Ian_Hawdon Linux - General 3 12-05-2005 01:14 PM
iRiver iHP-120 20GB MP3 Player, a player for the rest of us ? dukeinlondon General 1 04-04-2004 04:44 AM
MP3 CD player can't read MP3 CD's burned in linux food188 Linux - Software 2 01-11-2004 04:55 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration