URL:
  <http://savannah.gnu.org/bugs/?18466>

                 Summary: -execdir {} + broken in new find
                 Project: findutils
            Submitted by: ericb
            Submitted on: Tuesday 12/05/2006 at 21:29
                Category: find
                Severity: 4 - Important
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Eric Blake
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.3.2
           Fixed Release: None

    _______________________________________________________

Details:

The change from oldfind to the fts algorithm broke -execdir {} +:

http://cygwin.com/ml/cygwin/2006-12/msg00203.html

The command is being run in the parent directory rather than the directory
that provided the current set of {} argument expansions.

I'm not sure of the fix off hand, but it seems like leaving a directory is
the trigger to run the command on the collected arguments, but it triggers
after the working dir has already been changed.  You either need to trigger
sooner, or temporarily revert the working directory back to where the
arguments were collected.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?18466>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to