My friend was saying to me today that dir in windows is superior to ls in every way. So I created windowfied for macOS on homebrew. This is dumb. I hope you love it.
I backed away very quickly. I assume actual Windows uses the locale, so my eyeballs wouldn't be assaulted with this abomination.
For Linux/Mac users who are happy to stick with ls, but want a slash-formatted date, you can get something that is sane for you (whether or not it is sane for the rest of us) by running:
ls -l -D '%x'
Where -D specifies a custom date format and %x means 'the date in your locale'.
For Linux/Mac users who are happy to stick with ls, but want a slash-formatted date, you can get something that is sane for you (whether or not it is sane for the rest of us) by running:
Where -D specifies a custom date format and %x means 'the date in your locale'.