Search code examples
macososx-lionautomator

How to create a txt with file names and save it to same folder with Automator on OSX?


I want to make a .txt file inside the same folder that contains all the filenames of said folder.

How can i do that?

Thanks.


Solution

  • Or you can create an Automator Workflow like this as a Service, so that all you have to do is right click the folder, click the service and this text file will appear in the folder, with the name of the folder.

    Get Contents of Folder as Text Service Workflow