I love a good Mac or iOS tip. I found this one particularly helpful.
If you select a file in the Finder, then hit the space bar, the Finder will pop up a window displaying the contents of the file, known as a Quick Look preview. Not every app supports Quick Look, but most do.
By default, the Finder does not allow you to copy text from a Quick Look. Turns out there’s a setting you can tweak to enable text copy.
Launch Terminal (Applications > Utilities > Terminal) and type these two commands:
defaults write com.apple.finder QLEnableTextSelection -bool true
killall Finder
Change “true” to “false” to reverse this…
Now go back and copy as much text as your heart desires. Huzzah!