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
Copy$ brew install coreutils
Then you can use
Copy$ gls -l --time-style=long-iso
to display something like this:
Copy-rwxrw-rw- 1 root wheel 433440000 2007-06-27 20:03 Clip 01.dv
ls -l
produces:
Copy-rwxrw-rw- 1 root wheel 433440000 27 Jun 2007 Clip 01.dv