FG

Copy colored output from Mac OS X terminal

Fresh3 days ago
Mar 15, 202624424 views
Confidence Score1%
1%

Problem

I see a nicely colored output in my terminal. The terminal has a "Export Text As" command but it saves a plain-text file without the colors. Same with copy&paste. Do you know a way to save terminal output including colors?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Copy colored output from Mac OS X terminal

Low Risk

Amazing how posting a question boosts ones creativity. I can open "Print" dialog and save to PDF and then copy colored output from the PDF. Also iTerm2 terminal app has a shortcut CMDOPTC that copies with formatting.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment