Printing a FileList?

Discussion in 'macOS' started by OldManJimbo, Jul 26, 2005.

  1. OldManJimbo macrumors 6502

    OldManJimbo

    Joined:
    Jun 1, 2004
    Location:
    California Coast
    #1
    Is there way in Panther to print a file list from the Finder?
    I have a project that involves opening and copying info for a large number of files and it would be helpful to print the list so I can check them off as the project proceeds?

    I know I can do a screen save and print but wondered if there's a way to print the list.
     
  2. grapes911 Moderator emeritus

    grapes911

    Joined:
    Jul 28, 2003
    Location:
    Citizens Bank Park
    #2
    Use the terminal to navigate to the directory where the files are. Then type:
    ls -l | cat>>~/Desktop/file.list.txt

    On your Desktop will be a file called file.list.txt with a list of all the files from the other directory.

    If you need to print hidden files too, use:
    ls -al | cat>>~/Desktop/file.list.txt

    Also, you'll need to delete the file from the desktop before each use. 'cat' adds to a file, it doesn't replace it. Offhand, I can't think of a command to replace instead of append.
     
  3. Lacero macrumors 604

    Lacero

    Joined:
    Jan 20, 2005
    #3
    Just drag the folder icon onto a printer icon, and it will print out the file list.
     
  4. grapes911 Moderator emeritus

    grapes911

    Joined:
    Jul 28, 2003
    Location:
    Citizens Bank Park
    #4
    Your way seems much easier than mine, but I'm confused. What printer icon?
     
  5. Lacero macrumors 604

    Lacero

    Joined:
    Jan 20, 2005
    #5
    the printer icon in ~/Library/Printers/

    Add printer icon to Dock or alias on another folder.
     
  6. grapes911 Moderator emeritus

    grapes911

    Joined:
    Jul 28, 2003
    Location:
    Citizens Bank Park
    #6
    Wow! I can't think of a situation I'd ever need to do this, but it just goes to show you how apple makes everything easy.
     
  7. OldManJimbo thread starter macrumors 6502

    OldManJimbo

    Joined:
    Jun 1, 2004
    Location:
    California Coast
    #7
    WOW _ WOW _ WOW

    That is amazing. It works. How about THAT? Zippity-do-DAH-day.

    Thanks a bunch.
    :) :D
     
  8. Benjamin macrumors 6502a

    Benjamin

    Joined:
    Oct 27, 2003
    Location:
    Portland, OR
    #8
    yeah the drag to printer i had forgotten about that, i was going to suggest the select all and copy then paste to a plain text document.
     

Share This Page