Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Alphabetical copying to iRiver?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
jagomai
n00b
n00b


Joined: 05 Jan 2008
Posts: 38

PostPosted: Mon Mar 03, 2008 9:28 am    Post subject: [SOLVED] Alphabetical copying to iRiver? Reply with quote

Hi,

I'm trying to copy files to my iRiver in alphabetical order since the stupid player doesn't sort the songs after filename but after creation time.

This is what I've tried so far:

Code:

mount /mnt/mp3/
find %t | cpio -vp %D
umount /mnt/mp3/


Where %t are selected files, %D is destination. (I use MC)

However when I copy, the files are *still* copied randomly "sometimes"..

For example, look at the below:

Quote:

/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/01-glocken_der_wieskirche--weihnachtsglocken-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/02-thomanerchor_leipzig--froehliche_weihnacht_ueberall-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/03-dresdner_kreuzchor--alle_jahre_wieder-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/04-berliner_mozartchor--ihr_kinderlein_kommet-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/05-dresdner_kreuzchor--es_ist_ein_ros_entsprungen-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/06-rolf_schweizer--laudate_dominum_(wolfgang_amadeus_mozart)-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/07-berliner_mozartchor--suesser_die_glocken_nie_klingen-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/08-toelzer_knabenchor--joseph_lieber_joseph_mein-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/09-wiener_saengerknaben--von_himmel_hoch_da_komm_ich_her-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/10-stuttgarter_hymnus--chorknaben-o_du_froehliche-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/11-toelzer_knabenchor--o_tannenbaum-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/12-stuttgarter_hymnus--chorknaben-o_jesulein_suess-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/13-dresdner_kreuzchor--leise_rieselt_der_schnee-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/14-regensburger_domspatzen--schlafe_mein_prinzchen_schlaf_ein-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/15-thomanerchor_leipzig--stille_nacht_heilige_nacht-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/16-berliner_mozartchor--in_dulci_jubilo-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/17-wiener_saengerknaben--tochter_zion-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/18-garcia_navarro--weihnachtsoratorium-_sinfonia_(johann_sebastian_bach)-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/19-stuttgarter_hymnus--chorknaben-heiligste_nacht-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/20-berliner_mozartchor--kling_gloeckchen_klingelingeling-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/21-stuttgarter_hymnus--chorknaben-uns_ist_ein_kindlein_heut_geboren-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/22-thomanerchor_leipzig--von_himmel_hoch_o_engel_kommt-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/23-bernhard_gueller--kanon_in_d-dur_(johann_pachelbel)-oma.mp3
/mnt/mp3/VA--Erlebnis_Kirche_(Die_Schoensten_Melodien_Zur_Weihnachtszeit)-2006-OMA/24-glocken_der_wieskirche--weihnachtsglocken_ii-oma.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/203-The_Rising.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/101-Contemplation.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/102-Heaven.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/103-A_Summer_Sky.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/104-Whispers.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/105-Morning_Song.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/106-Pearly_Skies.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/107-Mountain_Spirit.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/108-Shimmering_Haze.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/109-Tranquil_Senses.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/110-Arise.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/111-Ray_of_Light.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/312-Bliss.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/112-Hypnotic_Waters.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/302-Oriental_Sunset.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/204-Cascade.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/205-Shooting_Star.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/206-Another_World.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/207-Slide.mp3
/mnt/mp3/VA-Yoga_and_Meditation-3CD-2003-NoGroup/208-Floating_Shadows.mp3



An entire album gets copied correctly - and then suddenly it copies 203-The_Rising.mp3 before 101-Contemplation.mp3... etc.

Is there a way to make all tagged files copied in alphabetical order to my mp3 player?

Thanks!


Last edited by jagomai on Sat Mar 08, 2008 4:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2395

PostPosted: Mon Mar 03, 2008 2:46 pm    Post subject: Reply with quote

does "ls -1" produce the correct result for you?
Back to top
View user's profile Send private message
jagomai
n00b
n00b


Joined: 05 Jan 2008
Posts: 38

PostPosted: Mon Mar 03, 2008 10:12 pm    Post subject: Reply with quote

Yes, it does. Why?

I also tried to touch the files on the mp3 player, by entering each directory on it and doing

ls * | touch *

I've read somewhere that it works.. But it didn't. Time-stamps changed in MC, but order didn't change on the mp3-player...
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2395

PostPosted: Mon Mar 03, 2008 10:24 pm    Post subject: Reply with quote

strange behavior. sorry.
Back to top
View user's profile Send private message
jagomai
n00b
n00b


Joined: 05 Jan 2008
Posts: 38

PostPosted: Mon Mar 03, 2008 10:34 pm    Post subject: Reply with quote

Hm, could it have something to do with syncing?

For example, does it make a difference if I let the transfer complete in its own time - rather than make an "umount /mnt/mp3/"?
Back to top
View user's profile Send private message
jagomai
n00b
n00b


Joined: 05 Jan 2008
Posts: 38

PostPosted: Sat Mar 08, 2008 4:36 pm    Post subject: Reply with quote

Anyone? I'm still having this problem.. I don't know what can cause it!
Back to top
View user's profile Send private message
jagomai
n00b
n00b


Joined: 05 Jan 2008
Posts: 38

PostPosted: Sat Mar 08, 2008 4:52 pm    Post subject: Reply with quote

Okay, WTF.

Find doesn't sort on my computer.

Instead, I now do:

find %t | sort | cpio -vp %D

And it works.

:roll:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum