Results 1 to 3 of 3
  1. #1

    Member Since
    Feb 21, 2007
    put file list into an editable text file
    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.


  2. #2

    caribiner23's Avatar
    Member Since
    Feb 06, 2005
    MacBook Pro Retina 13" iPhone 7 iPad Air and many iPods
    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!

  3. #3

    Member Since
    Feb 21, 2007
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Quicktime QTtext, offset text file using text track.
    By Jesse Smith in forum macOS - Apps and Games
    Replies: 0
    Last Post: 03-14-2014, 03:05 PM
  2. Automated file retrevial from text file?
    By The Barrnyard in forum macOS - Operating System
    Replies: 0
    Last Post: 11-09-2012, 01:55 PM
  3. Making an editable text list of files in a folder
    By Hardie in forum Switcher Hangout
    Replies: 3
    Last Post: 09-12-2007, 03:42 AM
  4. Opening an HTML file as an editable text file
    By newmacmike in forum Web Design and Hosting
    Replies: 6
    Last Post: 04-09-2007, 11:43 PM
  5. Text to speech - Turn text into audio file
    By jimz in forum macOS - Apps and Games
    Replies: 1
    Last Post: 07-19-2006, 08:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts