Directory File List for Mac OS X

Category: Web & Technology
Comment On This Post

Getting a list of files in a folder on a Mac is very similar to how you would on Windows. To generate a list of file names, you’ll need use the Terminal program — You can find this in the Utilities Folder.

Type in ls -l /Users/YourUserName/YourFolderName. For example:

ls -l /Users/Diana/Documents

Select the entire list with your mouse, copy to TextEdit, and save as filelist.txt.

After the text file is generated, you can import it into Excel:

  1. Open Excel
  2. Create a new spreadsheet
  3. Go to File, Open, and select filelist.txt

Excel will automatically create the necessary columns from your text file.

To learn more about this command, check out Linux ls Command.








Showing 0 Comments »


No comments yet.


Add New Comment