💻 Software
Is there a straightforward way to color ls output according to Finder label colors in macOS?
Fresh5 days ago
Mar 15, 20262037 viewsConfidence Score0%
0%
Problem
I have a client with a directory tree that has a number of high-level directories that I need to have on my local development machine. I rarely look at them unless something goes awry. I've marked the "uninteresting" ones with the grey color label and the ones I use daily with a green color label i…
Error Output
ls
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Is there a straightforward way to color ls output according to Finder label colors in macOS?
Low Risk
Color information is available from the extended attribute. First row, tenth byte, bits 3-1 (i.e. those with binary values 2, 4 and 8). The example output is for a red file with no other values set. If the attribute isn't available or the nibble is …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix