lsd-rs / lsd

The next gen ls command
Apache License 2.0
12.85k stars 420 forks source link

Add support for sorting with the file metadata change time (ctime) #1002

Open kamenchunathan opened 4 months ago

kamenchunathan commented 4 months ago

Add a sorting option for sorting files based on when file metadata last changed / inode change in linux. e.g. when a file was last moved or renamed on disk instead of when file contents changed This corresponds to the -c option in GNU ls

eras commented 3 months ago

With almost the same effort support for -u for sorting by access time could be implemented. Perhaps the issue title could be changed to include that cas as well?