bug-findutils
[Top][All Lists]
Advanced

[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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]