Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #412324

Re: video posts - ls piped to less with color

From owl <owl@rooftop.invalid>
Newsgroups comp.os.linux.advocacy
Subject Re: video posts - ls piped to less with color
Date 2017-05-01 15:29 +0000
Organization O.W.L.
Message-ID <ac802.bu94@rooftop.invalid> (permalink)
References <546dnfcHL_Db9ZvEnZ2dnUU7-YudnZ2d@giganews.com> <281d7a1f-beb4-4c4e-9fd9-98e70ee7e87c@googlegroups.com> <47OdndIUIMooGpvEnZ2dnUU7-SGdnZ2d@giganews.com> <6f56ac33-3133-4b6a-9cb4-f0ee6f22fa65@googlegroups.com>

Show all headers | View raw


Steve Carroll <fretwizzer@gmail.com> wrote:
> On Sunday, April 30, 2017 at 6:56:28 PM UTC-6, Marek Novotny wrote:
>> On 2017-05-01, Steve Carroll <fretwizzer@gmail.com> wrote:
>> > On Sunday, April 30, 2017 at 4:42:23 PM UTC-6, Marek Novotny wrote:
>> >> Hi group,
>> >> 
>> >> Posted a stupid Linux tip... If you like piping long directories to
>> >> less but want to see the ls --color=auto still working in the less
>> >> command then this is for you. 
>> >> 
>> >> ls piped to less with color
>> >> 
>> >> https://youtu.be/-_AHF3-329k
>> >
>> >
>> > Nice to know, thanks!
>> >
>> > By the way... can I dump this?
>> 
>> Yeah, heck yeah. Dump away. 
> 
> Done.
> (but I still think you should do something like that)
> 
> For grins, I tried "ls -al  -color | less -R" on my Mac, which I thought should work, 
> but it didn't.

This works on FreeBSD:
$ CLICOLOR_FORCE=1 ls -alG |less -R
Might work on Mack.

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

video posts - ls piped to less with color Marek Novotny <marek.novotny@marspolar.com> - 2017-04-30 17:42 -0500
  Re: video posts - ls piped to less with color Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-04-30 19:05 -0400
  Re: video posts - ls piped to less with color Steve Carroll <fretwizzer@gmail.com> - 2017-04-30 17:28 -0700
    Re: video posts - ls piped to less with color Marek Novotny <marek.novotny@marspolar.com> - 2017-04-30 19:56 -0500
      Re: video posts - ls piped to less with color Steve Carroll <fretwizzer@gmail.com> - 2017-05-01 07:40 -0700
        Re: video posts - ls piped to less with color Marek Novotny <marek.novotny@marspolar.com> - 2017-05-01 09:59 -0500
          Re: video posts - ls piped to less with color Snit <usenet@gallopinginsanity.com> - 2017-05-01 11:58 -0700
          Re: video posts - ls piped to less with color Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-05-02 07:49 -0400
            Re: video posts - ls piped to less with color Marek Novotny <marek.novotny@marspolar.com> - 2017-05-02 07:43 -0500
              Re: video posts - ls piped to less with color Chris Ahlstrom <OFeem1987@teleworm.us> - 2017-05-02 12:13 -0400
              Re: video posts - ls piped to less with color Snit <usenet@gallopinginsanity.com> - 2017-05-02 09:59 -0700
            Re: video posts - ls piped to less with color Snit <usenet@gallopinginsanity.com> - 2017-05-02 10:12 -0700
        Re: video posts - ls piped to less with color Peter Köhlmann <peter-koehlmann@t-online.de> - 2017-05-01 17:26 +0200
          Re: video posts - ls piped to less with color Snit <usenet@gallopinginsanity.com> - 2017-05-01 11:58 -0700
        Re: video posts - ls piped to less with color owl <owl@rooftop.invalid> - 2017-05-01 15:29 +0000
          Re: video posts - ls piped to less with color Steve Carroll <fretwizzer@gmail.com> - 2017-05-01 08:45 -0700
          Re: video posts - ls piped to less with color Marek Novotny <marek.novotny@marspolar.com> - 2017-05-01 11:10 -0500
          Re: video posts - ls piped to less with color Snit <usenet@gallopinginsanity.com> - 2017-05-01 10:13 -0700

csiph-web