 |
 |
Printing all folder names on a cd to a text file
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2002
Status:
Offline
|
|
Hi,
I would like to list all the contents of all my cds.Each cd has multiple folders and I would like all these names in alphabetical order in a text file.Anyone know an application that does just this ? Thanks in advance.
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Oct 2000
Location: Midwest
Status:
Offline
|
|
If you drag a folder to the Print Center icon, a list of files in that folder will be printed. I don't know if the container concept is consistent, but it is in applescript and other ways the file structure is referenced. What happens if you drag the CD image to the Print Center icon?
Worth a try.
Craig
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
You could just use ls on the command line.
ls /Volumes/SomeCD > sometextfile.txt
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
Originally posted by Chuckit:
You could just use ls on the command line.
ls /Volumes/SomeCD > sometextfile.txt
ls -R /Volumes/SomeCD > someTextFile.txt will give you all the files, rather than the top directory.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jul 2003
Location: Kali
Status:
Offline
|
|
Originally posted by DevNine:
Hi,
I would like to list all the contents of all my cds.Each cd has multiple folders and I would like all these names in alphabetical order in a text file.Anyone know an application that does just this ? Thanks in advance.
GUI method:
Drag the folder into a new BBEdit window, this might work in BBEdit Lite. I wouldn't count on it in TextEdit, but you could try any of the programmers/HTML oriented editors.
I do this occasionally with my iTunes folder. Work great.
Or go CLI as suggested. 
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Feb 2001
Location: Pittsburgh
Status:
Offline
|
|
Originally posted by Jim_MDP:
Drag the folder into a new BBEdit window, this might work in BBEdit Lite. I wouldn't count on it in TextEdit, but you could try any of the programmers/HTML oriented editors.
Does this work for files multiple levels down the folder hierarchy?
Ironically, typing the command line listed below will probably take less time than it just took to read this post.
Code:
ls -R cd_name > ~/Desktop/file_name.txt
Instead of typing 'cd_name' you can drag the icon into the terminal window and it will type the name for you. The '>' symbol means to dump the output of the ls command into the supplied file name. The '~' is an abreviation of the path to your user folder.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Nov 2001
Location: england
Status:
Offline
|
|
Would it be possible to make an applescript to do this? being a terminal numnut, and needing something like this quite often, id love it. It would make a perfect replacement for the os 9 'print window' command that just about every studio (ive worked at) uses to catalogue cd's :/
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Apr 2002
Location: New York City
Status:
Offline
|
|
"Print Window" is a decent free program to do this. I am not sure if it can order the names and things like that... but at least it can print windows.
You can find it at:
http://www.versiontracker.com/dyn/mo...amp;vid=106265
In OS X another thing you can do is this:
1. Select all the files in the finder window (Command-A).
2. Go to Edit-Copy. (Command-C)
3. Go to Text Edit and Paste (Command-V)
There you have a text list you can print.
I suppose you may also be able to paste into Excel and sort them there but i haven't tried it
|
Dan Rodney | instructor - graphic designer
Adobe Certified Instructor, Adobe Certified Expert
http://www.danrodney.com
I hope you'll have a look at my InDesign scripts.
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jul 2003
Location: Kali
Status:
Offline
|
|
Originally posted by dfiler:
Does this work for files multiple levels down the folder hierarchy?
Yes. If you have an iTunes folder, try it. It's a sweet tip. Credit to macosxhints, I believe.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|