I'm searching a console-application which helps me managing my portable mp3-player. The player is a simple mountpoint so nothing special here.

My Wish-Application would work as following:

  1. I provide a folder where I symlink all media-files I want on my device.
  2. I run the application, it does the following:
    • Convert the mediafiles into a playable format if my player cant handle the format (flac->mp3). Also apply the tags of the source-file to the converted file. Cache the converted file so on the next sync the conversion hasn't have to be done again.
    • Check if the files fit onto the device, otherwise throw an error
    • Copy the files onto my device (mounted to a mountpoint)

I know there will be no application which does exactly this but is there something similar? I also know I could construct something like this by myself (using rsync, sox, du) but I want to save the work if there is something usuable.

Thanks for help!

  • 2
    Unfortunately I don't know of such a tool, but! You could use make to manage it all. You can construct a rule for each format (e.g. for mp3s, symlink from cache to file; for flac, convert), supply a list of all media files in the folder, and have your 'all' rule depend on the cache of all files. Your 'install' rule would depend on 'all' and 'check-space', and call rsync... you get the idea. – Cascabel Oct 5 '09 at 20:29
  • Thanks for the comment, I haven't thought about implementation details, but make seems a possibility. I hoped there would be something similar already premade. – theomega Oct 5 '09 at 22:22
  • convert-to-playable-format sounds like a job for a FUSE mp3fs... can't recall a particular project name offhand but i know there's a couple out there that will convert media files on-the-fly – quack quixote Jan 5 '10 at 21:41

Assuming you have an iPod, Gnupod (please Google, I can only post one hyperlink) is capable of doing what you propose with a little scripting magic.

It also converts FLAC and ogg files to AAC on-the-fly, and of course will transfer WAV, AAC and mp3:


With a little hacking you could probably add support for other formats. I've been using it for years now (I'm on my third iPod) and it really beats the pants off of the other more bloated options (amarok, banshee, etc). It's a simple tool meant to be combined with others.


Have a look at Automatic backup when inserting a drive. It's a udev-based solution which takes care of automatically copying and filing the backups of your external drives.

  • The focus of the question is not how to automatically trigger this synchronization, but if there is a preexisting tool which does the media-player-specific tasks (especially the conversion). – Cascabel Oct 5 '09 at 20:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.