New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

put file list into an editable text file


Post Reply New Thread Subscribe

 
Thread Tools
Robert Roaldi

 
Member Since: Feb 21, 2007
Posts: 21
Robert Roaldi is on a distinguished road

Robert Roaldi is offline
How do I get Finder to paste a file listing into a text file? I want to do the DOS equivalent of pipelining a "dir" command as in,

dir *.* > list.txt

I want to end up with a text (any format will do) file that is editable so I can include the file listing in a document.

Thanks
QUOTE Thanks
caribiner23

 
caribiner23's Avatar
 
Member Since: Feb 06, 2005
Location: Chicago
Posts: 1,499
caribiner23 is just really nicecaribiner23 is just really nicecaribiner23 is just really nicecaribiner23 is just really nicecaribiner23 is just really nice
Mac Specs: MacBook Pro Retina 13" among far too many other Apple products

caribiner23 is offline
You can open the Terminal (Applications -> Utilities -> Console) and run the following UNIX command from the directory you want to list:

ls > list.txt

You can then do whatever you want with that file.

Good luck!
QUOTE Thanks
Robert Roaldi

 
Member Since: Feb 21, 2007
Posts: 21
Robert Roaldi is on a distinguished road

Robert Roaldi is offline
Yes, I'm rusty at Unix but did know I could do the same as in DOS. I was really wondering if there was a way to do this from Finder but there doesn't appear to be. (Maybe an Automator process to cut and paste filenames into a text file, but needlessly complicated I suppose.)

There isn't a way to do this equivalent in Windows using Explorer either. Odd, I can't be the only person that's ever needed to do this. It was a handy way to build DOS BAT scripts that did something to a group of files but the only way that I ever found to do it was the DOS pipeline. Oh well.
QUOTE Thanks

Post Reply New Thread Subscribe


« New convert here... | Switching to Mac: Videogame woes »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
watching a .mov file in windows made with imovie caraloca Movies and Video 5 04-30-2007 12:30 AM
Show Item Info inflexion OS X - Operating System 15 10-24-2005 10:34 PM
I want a .wdgt file to the list of widgets when i run dashboard jack_zack OS X - Apps and Games 7 05-29-2005 06:16 PM
text file aantoine90 iPod Hardware and Accessories 2 05-02-2005 11:51 PM

All times are GMT -4. The time now is 12:51 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?