
Once the $ prompt reappears you can close the Terminal window. Type the following text and hit enter: ls > filelist.txt The Terminal windowĪ blank window will appear with a cursor next to a $ prompt (text before the prompt may vary depending upon your username and/or setup). Once enabled (or ) in Finder on the folder for which you want to produce a file list and select New Terminal at Folder from the menu that appears. To enable this facility, from the System Preferences… option choose: Once enabled, enabled (or ) in Finder on the folder for which you want to produce a file list and select Services… then Open Terminal Here from the menu that appears. Keyboard > Keyboard Shortcuts > Services.Once copied, from the System Preferences… option choose:

To enable this facility you need to download the OpenTerminalHere service from Īfter unzipping, copy the Open Terminal Here.workflow file into the Library/Services folder within your user home folder (if the Services folder does not exist at this location, you will have to create it). However it is relatively straightforward to generate a such a list.īefore use the facility has to be enabled. One downside of the GUIs (Graphical User Interfaces) used on most computers is that it can be difficult to directly copy lists of files within folders. 2554How can I produce a list of files within a folder in Mac OS X?
