Posted over 10 years ago. Visible to the public. Linked content.

Change Time Format when using ls on Mac OSX

If you want to display the timestamp of a file e.g. in ISO format when using ls on OSX, then you need to install the coreutils e.g. using homebrew

$ brew install coreutils

Then you can use

$ gls -l --time-style=long-iso

to display something like this:

-rwxrw-rw- 1 root wheel 433440000 2007-06-27 20:03 Clip 01.dv

ls -l produces:

-rwxrw-rw- 1 root wheel 433440000 27 Jun 2007 Clip 01.dv

Owner of this card:

Matthias Marschall
Last edit:
over 10 years ago
Posted by Matthias Marschall to Matthias Marschall
This website uses short-lived cookies to improve usability.
Accept or learn more