Manfred Lopez
Well-known member
- Joined
- Feb 14, 2007
- Messages
- 992
- Reaction score
- 0
- Points
- 0
- Location
- Mexico
- Website
- www.registrodeactores.com
HOW TO TURN A FOLDER’S FILE NAMES INTO A TEXT FILE (IN OSX):
I have just learned a great new trick that will save me thousands upon thousands of hairs and brain cells. This is especially helpful for when one is shooting a feature and ends up with folders with hundreds of files and then one needs to create a word document listing all that crap. So anyway, here’s Aunt Jemima's secret pie recipe for text-file heaven:
THE STEPS:
1. Open Terminal (From Utilities folder);
2. Type “pwd” to see the directory that you are in;
3. Type “ls” to see a list of that directory’s contents;
4. Then type “cd” and a space and the exact name of the folder you want to navigate into (case sensitive);
5. Repeat until you are in the folder whose file names you want to turn into a text file; and…
6. Finally type “ls -R > contents.txt” (This will create a text file in the same folder that you can then import into Word or Exel or whatever).
For more info on how to navigate around in the Terminal go here:
http://www.osxterminal.com/navigatingaround/
I am posting this here so I can later remind myself on how to do this, as I am sure to forget… oh, and of course also to share this with you all, he he
I have just learned a great new trick that will save me thousands upon thousands of hairs and brain cells. This is especially helpful for when one is shooting a feature and ends up with folders with hundreds of files and then one needs to create a word document listing all that crap. So anyway, here’s Aunt Jemima's secret pie recipe for text-file heaven:
THE STEPS:
1. Open Terminal (From Utilities folder);
2. Type “pwd” to see the directory that you are in;
3. Type “ls” to see a list of that directory’s contents;
4. Then type “cd” and a space and the exact name of the folder you want to navigate into (case sensitive);
5. Repeat until you are in the folder whose file names you want to turn into a text file; and…
6. Finally type “ls -R > contents.txt” (This will create a text file in the same folder that you can then import into Word or Exel or whatever).
For more info on how to navigate around in the Terminal go here:
http://www.osxterminal.com/navigatingaround/
I am posting this here so I can later remind myself on how to do this, as I am sure to forget… oh, and of course also to share this with you all, he he