How can I print list of files from Finder with dates?

print list of files from finder INCLUDING the dates

I went to comment on Mrhoffman's way of doing in terminal, however it's a locked thread, not allowed to comment. I'll try it so the list shows file and date.



[Re-Titled by Moderator]

iMac 21.5″

Posted on Mar 7, 2025 11:47 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 8, 2025 12:37 PM

Open Terminal


Navigate to the directory you want to list using the cd command - e.g. "cd users" (no quotes)

If the file name has spaces or specials then use quotes e.g. cd "My Movies"


Then use the list command:


ls -l >file.txt



Which will create a text file called file.txt in the directory you're in.


Google the ls command to investigate its other switches if you want different details, hidden files, etc.




3 replies
Question marked as Top-ranking reply

Mar 8, 2025 12:37 PM in response to NJoymyMac

Open Terminal


Navigate to the directory you want to list using the cd command - e.g. "cd users" (no quotes)

If the file name has spaces or specials then use quotes e.g. cd "My Movies"


Then use the list command:


ls -l >file.txt



Which will create a text file called file.txt in the directory you're in.


Google the ls command to investigate its other switches if you want different details, hidden files, etc.




This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I print list of files from Finder with dates?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.