05-10-2010, 10:51 PM #1Automaticlly 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
05-10-2010, 11:12 PM #2
- Member Since
- Apr 16, 2007
- Redwood City, CA / Stanford, CA
- MacBook, Black, 2.0GHz C2D, 2GB RAMs, 160GB HD
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.
05-11-2010, 09:19 AM #3
- Member Since
- Jul 30, 2009
- Mac Mini (Late 2014) 2.6GHz Intel Core i5 Memory: 8GB 1600MHz DDR3
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.
05-11-2010, 05:55 PM #4
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.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By cynth_ in forum OS X - Operating SystemReplies: 5Last Post: 12-01-2014, 10:52 PM
By JoshJ in forum OS X - Operating SystemReplies: 1Last Post: 01-09-2014, 03:10 AM
By Sawday in forum OS X - Operating SystemReplies: 9Last Post: 08-18-2011, 06:01 PM
By jufjo in forum OS X - Apps and GamesReplies: 16Last Post: 01-07-2010, 12:14 PM
By Hardie in forum Switcher HangoutReplies: 3Last Post: 09-12-2007, 03:42 AM