I need to build a script that shows files in the same order as the default Downloads folder in the dock, ordered by Date Added, newest first. I can't seem to find the option in ls
.
Any other way to do it?
command linemacosmetadata
I need to build a script that shows files in the same order as the default Downloads folder in the dock, ordered by Date Added, newest first. I can't seem to find the option in ls
.
Any other way to do it?
Best Answer
Simpler (Faster) solution: