lsd-rs / lsd

The next gen ls command
Apache License 2.0
13.05k stars 425 forks source link

Feature request: pipe into lsd #950

Closed elkarouh closed 9 months ago

elkarouh commented 9 months ago

Hi,

I would like to use fd in conjunction with lsd. fd is very good at filtering files. It produces a list of paths. However lsd is very good at rendering the paths. I would like to have something like: fd -d2 -e rs regex_pattern | lsd

Regards

riquito commented 9 months ago

Most of the time for this kind of behaviour you use xargs

fd -d2 -e rs regex_pattern | xargs lsd

Does that work for you?

elkarouh commented 9 months ago

Yes, it works!

On Mon, Nov 13, 2023 at 6:07 PM Riccardo Attilio Galli < @.***> wrote:

Most of the time for this kind of behaviour you use xargs

fd -d2 -e rs regex_pattern | xargs lsd

Does that work for you?

— Reply to this email directly, view it on GitHub https://github.com/lsd-rs/lsd/issues/950#issuecomment-1808727629, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXGMAXV3J7P2C2GLJRDNS3YEJOUTAVCNFSM6AAAAAA7ENVYIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBYG4ZDONRSHE . You are receiving this because you authored the thread.Message ID: @.***>