i have an iriver t10 mp3 player that i'm having a minor issue with - if i copy a folder to the device, the songs will not be written in correct order. however, they are always in the same disorder - the same order that find -name '*.mp3' returns them in. since it's always the same order, i imagine it must be ordered according to some guidelines, but i can't discern them (can anyone enlighten me?).
in any case, i've figured out that find * -name '*.mp3' -exec cp {} /whereiwantitcopied/ \; will copy the mp3 files in the current directory (and subdirectories) to the specified destination (/media/disk/MUSIC/ for my t10), and do it so they are properly ordered. a giant step in the right direction, but still short of ideal.
however, what i would like to do is make a context menu entry, so i can right click on a folder (album) and copy the mp3 files in that folder to an identically named folder on my mp3 player (the new directory being a subdirectory of /media/disk/MUSIC/). unfortunately, i'm lost. i've no idea how to read the name of the directory being clicked on, and i'm unsure of if what i want is doable in a 1 line command, or if i need a script to accomplish it.
i'd also like to try and figure as much of this out on my own as possible, so hints are preferred to answers, if that makes any sense. of course, answers are preferred to nothing
thanks in advance.
in any case, i've figured out that find * -name '*.mp3' -exec cp {} /whereiwantitcopied/ \; will copy the mp3 files in the current directory (and subdirectories) to the specified destination (/media/disk/MUSIC/ for my t10), and do it so they are properly ordered. a giant step in the right direction, but still short of ideal.
however, what i would like to do is make a context menu entry, so i can right click on a folder (album) and copy the mp3 files in that folder to an identically named folder on my mp3 player (the new directory being a subdirectory of /media/disk/MUSIC/). unfortunately, i'm lost. i've no idea how to read the name of the directory being clicked on, and i'm unsure of if what i want is doable in a 1 line command, or if i need a script to accomplish it.
i'd also like to try and figure as much of this out on my own as possible, so hints are preferred to answers, if that makes any sense. of course, answers are preferred to nothing

thanks in advance.






i just now looked at the only current entry in thunar's custom action context menu (open terminal here), and found something that might actually solve my problem.