From owner-freebsd-questions@FreeBSD.ORG Tue Jun 5 23:02:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A6A91065670 for ; Tue, 5 Jun 2012 23:02:20 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx1.freebsd.org (Postfix) with ESMTP id F378F8FC12 for ; Tue, 5 Jun 2012 23:02:19 +0000 (UTC) Received: by wibhm6 with SMTP id hm6so3761794wib.1 for ; Tue, 05 Jun 2012 16:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9diKiG6pk9cFeafAMsem9NgsmK4RkFNsZsyJioD5+Vw=; b=I+EAtRK877fmge7zNtU0pLROUgrj1VvZPQxeezO5voMpNa451Kj+YzhvTOFJJAc4PK kMbgbCXUP7LksYx62k47NaG9AHEgrtTcHpLmp6ZtbF90/fi4BjbLZP1ioLwADOwD8bHO S1crE7BvtxhMaz9yFoTbVmtdjOcOmp1IE8OTt50r3jmovlNBy1OFQyC8FOuDDkh8lnn3 zqgNQ1a9N5v/LZgZLK1NO1PmrBDOA6Tv/HqSQ3OwTsXvUamK3M08vY+5Pq+IckZLOahY fTSjmUZLfFFfboNQldNLGZn8G1QhFNd/8GEPUD2enr+EPZOQ745jFuNgOkXtD99oW48J AHLA== MIME-Version: 1.0 Received: by 10.216.139.19 with SMTP id b19mr859471wej.4.1338937338858; Tue, 05 Jun 2012 16:02:18 -0700 (PDT) Received: by 10.180.84.39 with HTTP; Tue, 5 Jun 2012 16:02:18 -0700 (PDT) In-Reply-To: References: Date: Tue, 5 Jun 2012 19:02:18 -0400 Message-ID: From: grarpamp To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Re: /usr/bin/find - binary operands howto X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2012 23:02:20 -0000 A single find already had the needed selection and execution ops. So I was trying it first, before writing an external parser, etc. It's still not clear to me how find is compiling the arguments internally, but using -vv on the utils helped a lot. After adding -false after all the -exec's, it now works as desired up against my array of inodes. I also worked in a pre-change, select, ls. The arbitrary format of gfind is interesting. It can maybe be approximated in find with -exec ls someargs {} \+.