findutils icon indicating copy to clipboard operation
findutils copied to clipboard

Implement `-follow`

Open sylvestre opened this issue 1 year ago • 5 comments

Even if this is deprecated, for compat, we should implement it:


       -follow
              Deprecated; use the  -L  option  instead.   Dereference  symbolic  links.   Implies
              -noleaf.   The -follow option affects only those tests which appear after it on the
              command line.  Unless the -H or -L option has been specified, the position  of  the
              -follow  option  changes the behaviour of the -newer predicate; any files listed as
              the argument of -newer will be dereferenced if they are symbolic links.   The  same
              consideration applies to -newerXY, -anewer and -cnewer.  Similarly, the -type pred-
              icate will always match against the type of the file that a symbolic link points to
              rather  than  the  link itself.  Using -follow causes the -lname and -ilname predi-
              cates always to return false.

sylvestre avatar Feb 02 '24 08:02 sylvestre

Can I be assigned this problem?

DweepKM avatar Feb 25 '24 15:02 DweepKM

sure, please submit a PR :)

sylvestre avatar Feb 25 '24 15:02 sylvestre

@DweepKM did you submit a PR at the end ? :)

sylvestre avatar May 04 '24 07:05 sylvestre

@hanbings could you please add this to your todo list ? :) thanks

sylvestre avatar Jun 27 '24 06:06 sylvestre

@hanbings could you please add this to your todo list ? :) thanks

Of course! I'm happy to help.

hanbings avatar Jun 27 '24 09:06 hanbings