Skip to content

exa automatically expands softlinks when embedded in a pipe #1079

@songtaogui

Description

@songtaogui

Hi,

I found that exa would automatically expands softlinks when embedded in a pipe (I am using exa v0.9.0 on linux CentOS7):

> ls | cat
raw_AAA.txt
raw_AAB.txt
sl_AAA.txt
sl_AAB.txt

> exa | cat
raw_AAA.txt
raw_AAB.txt
sl_AAA.txt -> raw_AAA.txt
sl_AAB.txt -> raw_AAB.txt

Which I think would cause unexpected problems, say if someone want's to rename all the softlink files through a pipe exa *.softlinks | while read file; do rename xxx yyy $file; done, both the link file and the source file are renamed.

Best,

Songtao Gui


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions