Results 1 to 4 of 4

Thread: Automaticlly Generating List of Files in a Folder?

  1. #1

    MikeIsGood's Avatar
    Member Since
    Mar 20, 2008
    Automaticlly Generating List of Files in a Folder?
    Is there any way to make a list of files in a folder, and have the list automatically and continuously populate itself? i.e. List file (maybe an .xls file, for example) shows files A, B, C. When I add file D to the folder the list draws data from, D shows up in the file along with A, B, and C the next time I open the list file / refresh it.

    Wasn't sure if there would be some combination of inputs or formulas in Excel or Numbers to accomplish this. Tried searching this forum; didn't find anything.

    If that's not possible, not the end of the world. Just curious. Thanks for any help

  2. #2

    MinaMACMan's Avatar
    Member Since
    Apr 16, 2007
    Redwood City, CA / Stanford, CA
    Well... I am not sure if you can do that through Excel.

    BUT, you can probably write a quick script with Python that when it runs it will save the output (File Names) into a text, maybe even an xls file.

  3. #3

    toMACsh's Avatar
    Member Since
    Jul 30, 2009
    Mike, if you can do that, you are good!

    And clue us in on the solution, if you find one.

    But, it's not too difficult to do a list. So when you need it updated, generate a new one.

  4. #4

    Lifeisabeach's Avatar
    Member Since
    Sep 30, 2007
    The Republic of Neptune
    I believe you can do this using a custom Automator workflow or Applescript as a Folder action. I'm not at my Mac at the moment to experiment some, but here are a couple Google hits that may give some ideas. The first in particular details how to get a notification when a folder's contents are altered using a script. It should be simple to adapt that into the creation of a list.
    Folder Actions - Get Notified When a File Is Added to a Folder
    Force Folder Actions to notice changed files - Mac OS X Hints
    Apple - Support - Discussions - Trigger Folder Action on File/Folder ...

    Please verify and include the exact model/year of your Mac and OS X version number (available from "About This Mac", then "More Info" on the Apple menu).
    Links: Onyx | EasyFind | Apple Hardware Test | How to test your hard drive | The Safe Mac Adware Removal Guide | Uninstall MacKeeper
    Lifeisabeach - Mac-Forums Member of the Month June 2009, Feb 2012, and March 2013.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help!! Trash is generating thousands of files
    By cynth_ in forum macOS - Operating System
    Replies: 5
    Last Post: 12-01-2014, 11:52 PM
  2. Folder Actions list
    By JoshJ in forum macOS - Operating System
    Replies: 1
    Last Post: 01-09-2014, 04:10 AM
  3. Folder Content List
    By Sawday in forum macOS - Operating System
    Replies: 9
    Last Post: 08-18-2011, 06:01 PM
  4. Need to make a list of music files in a folder
    By jufjo in forum macOS - Apps and Games
    Replies: 16
    Last Post: 01-07-2010, 01:14 PM
  5. 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

Posting Permissions

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