How Do I Print A File List (finder)

foz405

macrumors member
Original poster
I'd like to print the file names that are on an external backup so I know what is there. I've opened Finder and the relevant directory, but can't figure out how to print the pane (or file list).

Can anyone help please ? I have Tiger 10.4.10 on a G4 powerbook.
 

Mitthrawnuruodo

Moderator emeritus
Mar 10, 2004
13,833
228
Bergen, Norway
In terminal type ls -Rla /Volumes/<your backup volume/ > ~/Desktop/contents_of_backup_volume.txt and replace <your backup volume> with the actual name of the backup partition.

That will give you a text-file on your desktop with lots, and lots of information... thay you may format and print as you like... ;)

You can read up on all the possibilities of the ls command by typing man ls.
 

Mitthrawnuruodo

Moderator emeritus
Mar 10, 2004
13,833
228
Bergen, Norway
Well as long as you stay away from the rm, and possibly the mv, command it's very limited what damage you easily can do... but even so, you could try PrintFinder. I've not tried it, and for all I know it could be a man eating trojan for Mac OS X, but if it does what it says it might be right up your alley... :)
 

LethalWolfe

macrumors G3
Jan 11, 2002
9,368
119
Los Angeles
When I needed to do this I select all the folders/files I want, hit command-C (to copy), open up Word (or your text editor of choice), hit command-V (to paste) and bang-o there's a printable list.


Lethal
 
  • Like
Reactions: CreatorCode

miles01110

macrumors Core
Jul 24, 2006
19,261
31
The Ivory Tower (I'm not coming down)
Yes. Thanks. But I'm more than a little worried about the inherent dangers of using "Terminal". They say you can delete stuff really easy, and I'm very accident prone and have deleted whole directories before today.
ls doesn't do anything other than list the files. unless you're a bad typer and change it to "rm" then there's not really anything to worry about.
 

mooblie

macrumors 6502
Apr 23, 2009
368
57
The Highlands, Scotland
There's always the following:
(a) arrange the Finder directory listing to show what you want onscreen
(b) cmd-shft-4 - draw a box around the information you want
(c) print the resultant "Picture 1" (.png file) from your desktop, with Preview, or whatever.
 

Gregg2

macrumors 603
May 22, 2008
6,072
508
Milwaukee, WI
Hmmm. In Safari, if you drag a folder into this box (the one I'm typing in) it generates the path to that folder, not a list of its contents.
 

erblaser

macrumors newbie
Nov 26, 2011
3
0
print finder search window

Does anyone know how to print the results of a search of the desktop on Max OS 10.6.8?
Copy and paste doesn't work, and neither did Print Window.
 

ScoobyMcDoo

macrumors 65816
Nov 26, 2007
1,188
35
Austin, TX
Does anyone know how to print the results of a search of the desktop on Max OS 10.6.8?
Copy and paste doesn't work, and neither did Print Window.
I don't think there is a way to do it from spotlight, but you can use the mdfind command from terminal and redirect to a file, then print that file. For example:

mdfind search_string >outfile.txt
 

erblaser

macrumors newbie
Nov 26, 2011
3
0
Thanks very much. That terminal command produces a list which can easily be cleaned up in a word processor for later printing.
 

Charlotte Katz

macrumors newbie
Oct 7, 2015
1
0
When I needed to do this I select all the folders/files I want, hit command-C (to copy), open up Word (or your text editor of choice), hit command-V (to paste) and bang-o there's a printable list.


Lethal
when I do this, I get all the contents of all the files.
How to get just a list of the file names?
 

CreatorCode

macrumors regular
Apr 15, 2015
158
275
US
When I needed to do this I select all the folders/files I want, hit command-C (to copy), open up Word (or your text editor of choice), hit command-V (to paste) and bang-o there's a printable list.
when I do this, I get all the contents of all the files.
How to get just a list of the file names?
Use a text editor (like TextWrangler) and not a word processor (like Pages)

If you use TextEdit (which is both) then make sure the document is set to Plain Text first.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.