Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-23-2009, 07:32 PM   #1
LQ Newbie
Registered: Nov 2008
Distribution: Debian Lenny w/ KDE 3
Posts: 23

Rep: Reputation: 15
Cool 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).

Last edited by BigglesPiP; 10-23-2009 at 07:38 PM.
Old 10-24-2009, 05:10 AM   #2
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creation of symbolic link not permitted in fat mounted drive stelmed Slackware 11 02-19-2012 01:18 AM
images creation date newer than last modified date fenrisW0lf Linux - Newbie 3 07-28-2009 05:04 PM
File creation date Jay5487 Linux - Newbie 2 03-25-2008 07:47 AM
i want to compile fat file system module and get fat.o working ramya272 Linux - Newbie 9 02-26-2004 11:41 AM
FAT 12 creation on floppy juby Programming 1 01-06-2003 07:26 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration