I'm looking for a way to sync music to my Android Phone without having to load something like banshee. I know there are plenty of ways to sync files, but I'm interested in syncing playlists and having the playlists dictate which files are synced.
Assuming an m3u exported from banshee and you have your Android mounted you can do something like:
rsync -avu --files-from=yourlist.m3u <MUSIC_DIR> /media/ANDROID/<ANDROID_MUSIC_DIR>
rsync -avu --files-from=yourlist.m3u "/home/user/Music" "/media/ANDROID/MUSIC"
You can also add --delete
rsync -avu --delete --files-from=yourlist.m3u "/home/user/Music" "/media/ANDROID/MUSIC"
I tested with a simple m3u and worked, but it may need some tweaks for a complex one.
Without more information, I can only assume you mean that you want certain files (playlists) to contain rules to move certain other files (music) to another location (your android).
Seeing as you don't want to start any applications, I would suggest using a simple text file that contains the names of songs in the playlist. Write as many of these as you want.
Then you could write a short script called
playlist_sync that will read the lines in each playlist, search your music directory (using a regex) for files that match your song names and copy them over to a certain device.