Just gotta say Ed, you're like.....the Wizard when it comes to this stuff!..LoL!

Sent from Eddie's Cell Phone

----- Reply message -----
From: "Ed Greshko" <Ed.Greshko@greshko.com>
To: "Community support for Fedora users" <users@lists.fedoraproject.org>
Subject: question regarding ls w/ colors and capturing to file
Date: Tue, Jul 31, 2012 2:22 am


On 07/31/2012 02:15 PM, Paul Allen Newell wrote:
> Fedora List:
>
> I can run "ls -FR" on a directory and get a lovely listing with lots of color coded information to let me know what is what. I have hit a directory that is big enough that scrolling though the output isn't efficient. I would like to capture the output of "ls -FR" into a file that preserves the color coding (I don't want to read each file as I wish to visually scan to see if something isn't right and color is a great way to see it).
>
> My attempts with "more" have stripped color. So has "less". Does anyone have an idea how to capture the output of "ls -FR" that keeps the color coding?
>
> This is a low priority item ... just something that would be nice to be able to do
>
> Thanks in advance,
> Paul

script -c "ls -FR --color" outfile





--
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org