Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

OldManJimbo

macrumors 6502
Original poster
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.
 
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.
 
Lacero said:
the printer icon in ~/Library/Printers/

Add printer icon to Dock or alias on another folder.
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.
 
WOW _ WOW _ WOW

Lacero said:
Just drag the folder icon onto a printer icon, and it will print out the file list.

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

Thanks a bunch.
🙂 😀
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.