! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Allow to sort files by creation date and provide the corresponding detailed v...
Status:
RESOLVED: MOVED
Severity:
enhancement

Comments

Description ronso0 2018-08-06 19:20:30 CEST
I'm missing the ability to sort files/folders by their date of creation.
Context:
I'm using Mixxx (mixxx.org) for DJing and it writes back metadata to music files on a FAT32 disk. This screws up my regular sort order by "date modified" whick would normally sort the files by the date I obtained them.
Comment 1 alexxcons editbugs 2018-08-06 21:12:36 CEST
Sorry, looks like not possible under linux:

E.g. read this one:
https://unix.stackexchange.com/questions/20460/how-do-i-do-a-ls-and-then-sort-the-results-by-date-created


If you know more than me on that, please let me know! Otherwise I would close this bug.

How about format that disk with some superior file system, like ext4 ?
Comment 2 ronso0 2018-08-07 02:10:47 CEST
I see that it appears impossible for FAT32 but I read about debugfs, crtime and 'birth time' (time added to directory) on ext4 earlier, also I found this answer at askubuntu.com
https://askubuntu.com/a/443599

That's why I was wondering why Thunar wouldn't offer this, at least on ext4.
Anyay, I'll move to ext4 and try that script mentioned in the answer above and 'touch' the files in the appropriate order, maybe that helps.

Feel free to close this if there's no way it gets fixed
thx.
Comment 3 alexxcons editbugs 2018-08-09 21:17:34 CEST
Ok, sounds like it is possible, so I will keep the issue open.

Not that I would have time for implementation ... however patches are always welcome ;)
Comment 4 Öyvind Saether 2019-12-29 11:12:54 CET
stat() can and will show a files creation date on ext4 and xfs file systems. Further, other file managers such as dolphin and nemo do support showing a files creation date, see https://linuxreviews.org/File_timestamps#Graphical_file_managers

$ stat routers-and-smart-devices.jpg
  File: routers-and-smart-devices.jpg
  Size: 2888221         Blocks: 5648       IO Block: 4096   regular file
Device: fd01h/64769d    Inode: 22720593    Links: 1
Access: (0640/-rw-r-----)  Uid: ( 1000/ oyvinds)   Gid: ( 1000/ oyvinds)
Context: unconfined_u:object_r:user_home_t:s0
Access: 2019-12-17 15:54:42.189771736 +0100
Modify: 2019-12-17 15:54:42.699781354 +0100
Change: 2019-12-17 15:54:42.699781354 +0100
 Birth: 2019-12-17 15:54:42.189771736 +0100

The "Birth:" field is NOT shown when xfs and ext4 file systems are mounted using nfs. It is also not supported on any other file system I've tested. 

Thunar should be able to show it if it is available. Competing file manager products are already showing it when it's available.
Comment 5 Andre Miranda editbugs 2019-12-29 16:32:56 CET
Reported upstream: https://gitlab.gnome.org/GNOME/glib/issues/1970
Comment 6 Git Bot editbugs 2020-05-26 23:37:49 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/209.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14584

Reported by:
ronso0
Reported on: 2018-08-06
Last modified on: 2020-05-26

People

Assignee:
Xfce Bug Triage
CC List:
5 users

Version

Version:
unspecified

Attachments

Additional information