Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to print the files and folders in a finder window?

A long time ago...There used to be a way to print all the files and folders in a finder window. I haven't been able to do so in a very long time. Is it one of those things no one else needed so they eliminated it? If not, can someone tell me how to do it?

MacBook Pro, Mac OS X (10.6.8)

Posted on Dec 4, 2012 5:22 PM

Reply
6 replies

Dec 4, 2012 8:47 PM in response to cparise

You can drag a folder to a printer in the Dock, but that will only print the contents of that folder.


You can use the list (ls) command in the terminal and direct the output to a text file.


ls -1RF folder/path >> output.txt


Leave off the 1 to have it print across the page in columns. The F causes it to identify folders with a /

Leave off the R to just list the folder and not the subfolders.


Wrap it all up in a Automator Service and you can access it in the contextual menu.


Service receives selected Folders in Finder

Run Shell Script (Pass input: As Arguments)

ls -1RF "$@"

New Text Edit Document

Open Finder Items

How to print the files and folders in a finder window?

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