LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Working with FAT creation date. (https://www.linuxquestions.org/questions/linux-software-2/working-with-fat-creation-date-764062/)

BigglesPiP 10-23-2009 07:32 PM

Working with FAT creation date.
 
My car's head unit has a USB port, and will play *.mp3 and *.wma files stored on mass storage devices.

It groups tracks by directory structure: Music > Artist > Album > Track.ext
It sorts artists, albums, and tracks by file creation date (yes, stupid).

*nix doesn't understand file creation date, only mdate cdate and adate. FAT does store file creation dates.

So, my linux question:
My tracks are in the wrong order, and I've been trying to fix it. So far I have a script which can set the mdates such that the tracks would be in the right order, this is where I found that linux doesn't do "cdate". Is there an alternative to touch which can play with FAT?




As an extremely slow and rubbish way of doing this, will moving the files off of, then onto the device reset the cdate? (I don't have a windows box handy to check this for myself).

jomen 10-24-2009 05:10 AM

fatsort might be what you are looking for.
I have two locations - don't know if these are the same.

http://fatsort.berlios.de/

http://hem.passagen.se/chsw/fatsort/index.html


All times are GMT -5. The time now is 12:55 AM.