[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #56410] find -L doesn't follow symlinks outside the specified searc
From: |
Bernhard Voelker |
Subject: |
[bug #56410] find -L doesn't follow symlinks outside the specified search scope |
Date: |
Sat, 1 Jun 2019 13:32:34 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0 |
Follow-up Comment #10, bug #56410 (project findutils):
While find(1) act on the de-referenced file with -L, the called file(1) does
not - per default. GNU find will always pass the original name of the file
found, regardless whether -L is in
place or not. I think you simply want also file(1) to work on
the de-referenced file, so this can easily be done by passing
the -L option to file(1).
$ find -L ... -exec file -L '{}' +
Have a nice day,
Berny
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56410>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope,
Bernhard Voelker <=
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, Arthur Pogosyan, 2019/06/04
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, Bernhard Voelker, 2019/06/04
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, Arthur Pogosyan, 2019/06/05
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, Bernhard Voelker, 2019/06/05
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, Andreas Metzler, 2019/06/05
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, James Youngman, 2019/06/13
- [bug #56410] find -L doesn't follow symlinks outside the specified search scope, Bernhard Voelker, 2019/06/17