Copy files from NAS in correct order

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
mbangsoe
Junior Member
Junior Member
Posts: 3
Joined: 2013-02-20, 19:38 UTC

Copy files from NAS in correct order

Post by *mbangsoe »

Hi all, new to the forum but been using TotalCommander since way back.

Since having switched to a NAS for file storage, I have noticed that copying files form the NAS-drive to another drive (eg. a USB-stick) causes the files to be written to USB-stick in the order of creation time on the NAS-drive.

That means that whenever I copy a folder containing music files named 01-title; 02-title; 03-title and so on, the files are not stored on the USB-stick in the order of the file names, but in the order of the creation date on the NAS.

This means than when I plug the USB-stick into my car mp3-player, they are played back in the order of the creation date on the NAS, and therefore not always in the correct order (which would be 01-title would be played first, then 02-title and so on).

I can use a file-sorting tool on the USB-stick to sort the files in the order of the filenames - BUT: is there a way to do this with Total Commander?

Thanks for any help

Martin
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1050
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

There are several topics regarding this problem with "cheap" mp3 players in the forum.

In case you've got a Kenwood car audio system, they've got a Windows application to preindex the mp3 titles (KMElight). Dunno if other manufacturers offer something similar.
User avatar
petermad
Power Member
Power Member
Posts: 16034
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Try and see if SubdirCopyOrder=5 in the [Configuration] section of your wincmd.ini helps - remember to restart TC after changing wincmd.ini
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
mbangsoe
Junior Member
Junior Member
Posts: 3
Joined: 2013-02-20, 19:38 UTC

Post by *mbangsoe »

petermad wrote:Try and see if SubdirCopyOrder=5 in the [Configuration] section of your wincmd.ini helps - remember to restart TC after changing wincmd.ini
Thanks for the suggestion, but it doesn't help with my problem adding that entry to wincmd.ini

What I have found out, however, is that if I change into the dir on my nas, then select all files (ctrl-a) and then copy them to a directory on my usb-stick, then the files are copied in the order I have set Total Commander to sort my view in; i.e. if I set it to ascending sorting of file names the files are copied to the usb-stick correctly and my car mp3 plays them in the right order.

Perhaps that way of behaving while copying a selected folder with files could be implemented into Total Commander via a plugin?

Martin
User avatar
petermad
Power Member
Power Member
Posts: 16034
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

then the files are copied in the order I have set Total Commander to sort my view in
That is excacltly what SubdirCopyOrder=5 should do - without you having to go into the subdir.

Help
SubdirCopyOrder=4 Order in which files in subdirs are copied:
4: Unsorted
0..3: Ascending by name, ext, size, date/time
-1..-4: Descending by name, ext, size, date/time
5: The same as in the active panel (no custom columns or add. sort orders)
Did you remember to restart TC after adding SubdirCopyOrder=5? - Are you sure you edited the right wincmd.ini - you can see which one TC uses by clicking "Help" -> "About Total Commander..." in the menu. Also make sure you don't have two SubdirCopyOrder= lines in wincmd.ini
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
mbangsoe
Junior Member
Junior Member
Posts: 3
Joined: 2013-02-20, 19:38 UTC

Post by *mbangsoe »

Ahh! I edited the wincmd.ini in c:\windows - but that's not the one my TC uses. Edited the right one and now IT WORKS AS SUGGESTED! Thank you very much! :)
Post Reply