6 Replies Latest reply: Mar 12, 2014 9:34 AM by DougWW
cparise Level 1 (0 points)

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)
  • alkhater Level 2 (205 points)

    Do you mean printing a list of the files in a folder or pring the content of each file in a folder?

  • cparise Level 1 (0 points)

    Thanks for asking. I used to be able to open all the folders in the finder and print all the folders and their contents in one long list. OR, I could close all the folders and print the folder names only.

  • Barney-15E Level 8 (46,274 points)

    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

  • cparise Level 1 (0 points)

    Thank-you so much. I'll work my way through all this over the next few days.

  • John Blanchard1 Level 5 (5,230 points)

    Or use the scripts here:

     

    /Library/Scripts/Printing\ Scripts

     

    build the droplet in AppleScript Editor, and drag the folder on to the droplet.


    This thread has other suggestions:


    http://discussions.apple.com/thread.jspa?messageID=10825106&#10825106

  • DougWW Level 1 (10 points)

    Really helpful. Thansk for the detailed answer. Solved my problem before I asked it.