Tip 110Quickly Create a List of Files

Need to quickly create a text list of files and folders contained within a directory? Open the directory in Finder and select all (Command+A); then copy to the clipboard (Command+C). Then open TextEdit, switch to plain-text mode (FormatMake Plain Text, or Shift+Command+T), and hit Command+V to paste. Don’t worry—you won’t paste the actual files into the document. Instead, you’ll see a text list of the files and folders. This will work in any text-mode editor as well as in some word processors, such as Microsoft Word.

Get Mac Kung Fu, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.