File listings from the command line
The OS X Finder suffers from a rather amazing limitation: you can't print the list of files you see in a Finder window. You can grab them and paste the list into something that can print, or you can do a screenshot and print that, but that's almost all.
Directory Content Printer is the one of only a few third party products I found - apparently this isn't seen as needed by many people!.
Of course you can get quick printing from the command line. For some reasion, that suggestion is seen as unpleasant by most users. Even my wife, sitting not three feet from me, acts like I asked her to dig through the garbage when I suggest she open Terminal to do something.
It's not so horrible, really. Open Terminal (hit Command-Space for Spotlight and type "Terminal" if you have no idea what I mean), and try:
ls | lp ls /Applications | lp ls ~/Documents | lp ls -l | lp ls -lR | lp ls -l | sort -r +4 | lp
That "|" thingy is called a "pipe symbol". It's the broken vertical bar produced by SHIFT-\. That's right, hold Shift and hit "\".
The "ls ~/Documents" says to list the "Doocuments" directory under your Home ("~") directory. An "ls ~Pictures" would list your Pictures.
Was that painful? There's a lot more you can do at the command line and none of it is really hard. Read some of the "Shell" articles here and particularly see Take Control of the Mac Command Line with Terminalfor more.
Don't neglect reading the "ls" man page if you aren't familiar with it; there are a lot of options for showing the files in different ways. You'd type "man ls" while still in Terminal to do that.
Why don't you print it? Type
man -t | lp
Or send it to Preview:
man -t ls | open -f -a /Applications/Preview.app/
I'm really surprised that there is still no way to do this from Finder. Maybe OS X will eventually address this, but printing from the command line will probably always have more power and flexibility.`
Got something to add? Send me email.
(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version
Increase ad revenue 50-250% with Ezoic