Printing entire folder contents list

Discussion in 'macOS' started by Woodlandjustin, Jun 7, 2012.

  1. Woodlandjustin macrumors newbie

    Joined:
    Jan 21, 2007
    #1
    Hi guys,
    I have been wanting to do this for ages and have never been able to find out:

    How can I print the entire contents list of a folder? Screen grab will not work, because it only takes a snapshot of the contents displayed on the screen at one time. That's fine for a folder with only 20 items. But how about with 200 items? Or 2000? (I have tried multiple screen shots and that is extremely tiresome and impractical).

    Is there any way to just save the contents list as an image file, text file, or spreadsheet? I spreadsheet would be easiest, with all the sizes, dates created etc. listed in it. But any way of saving the list in whatever form would be very useful for me to hear about.

    Thanks in advance!
     
  2. smirk macrumors 6502a

    smirk

    Joined:
    Jul 18, 2002
    Location:
    Orange County, CA
    #2
    I'm not in front of a Mac right now, but for printing can you not open the Finder window and then just select File->Print? From the Print dialog box you could then save as PDF or something.

    Or to get a list of files, can't you just open the Finder window, command-A to select all, command-C to copy it to the clipboard, then open Excel or TextEdit and paste it in?
     
  3. Woodlandjustin thread starter macrumors newbie

    Joined:
    Jan 21, 2007
    #3
    No. No print option on Finder windows.

    No. That copies the files themselves, not the information displayed about them.

    Anyone any ideas? The guys at Mac support had no idea.
    Thanks!
     
  4. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #4
    Code:
    cd ~/Documents
    ls > ~/Desktop/files.txt
    Open Terminal app from /Applications/Utilities. Paste or type in the first line above then hit enter (substituting whatever folder name you want to list if it is not Documents like my example). Then paste or type in the second line and hit enter. That will give you a text file on your desktop with a list of all files in the folder.

    You can also apply options to the ls command to sort by different criteria. In the Terminal type "man ls" (without the quotes) to see all the options.
     
  5. Woodlandjustin thread starter macrumors newbie

    Joined:
    Jan 21, 2007
    #5
    Hi Weaselboy,
    Thanks, that seems to be coming close. Is there really no way to print the info from finder though? It would be so useful because it shows the folder colours (I have mine colour coded), and the folder sizes.
     
  6. jsgreen macrumors 6502

    Joined:
    Nov 27, 2007
    Location:
    NH
    #6
  7. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #7
    1. Open the folder in Finder
    2. Command-A to select all
    3. Command-C to copy
    4. Open TextEdit
    5. Command-Shift-T to change format to plain text
    6. Command-V to paste
     
  8. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #8
    Sorry, I don't know of a way to capture the colors in that text output.
     

Share This Page