From owner-freebsd-questions@FreeBSD.ORG Sun May 15 16:19:54 2011 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 4DEBE106566C for ; Sun, 15 May 2011 16:19:54 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 074EB8FC17 for ; Sun, 15 May 2011 16:19:53 +0000 (UTC) Received: by vxc34 with SMTP id 34so3694402vxc.13 for ; Sun, 15 May 2011 09:19:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=C6IjXFtjptCPpspZcs7ruLNecNdSSANH/Hkiq1cZhmQ=; b=dXuHIY4YAjGRiOZYxK/kPSH+FRy+gTQbL8hgwAZKTKvnVcZmb3oBg2QQ7OsYVA/6hA P6askslt0ynlrvwuoMATFrap+4XOnIz6KhS3ZtHJ4KauN6guTLmViSu/r12QWigx+4hu 9S1DzipSlbCwViW9Coh8brIa8aunXb/6t/8RY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=X9ty4Z2gQVc/c3DCLXQ9pPy8rJqwtL95HXS3nOB94RFDJ4AP23fQc1bVwLIM0Y/pby rCcOWmlyjOxgOaVujlH+udjRbax0QpsiralX1IvSzOnpCJCxeC3TTprFY0RtSY6Zzg9B Hj00y2HDRSly4RmersuS7fJb+B9Rs6S2T9sI4= Received: by 10.52.172.2 with SMTP id ay2mr188762vdc.50.1305476393070; Sun, 15 May 2011 09:19:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.110.42 with HTTP; Sun, 15 May 2011 09:19:23 -0700 (PDT) In-Reply-To: <3.0.1.32.20110515110806.0195b6e0@sage-american.com> References: <3.0.1.32.20110514171011.018a0598@sage-american.com> <3.0.1.32.20110515102740.0195b6e0@sage-american.com> <3.0.1.32.20110515110806.0195b6e0@sage-american.com> From: Eitan Adler Date: Sun, 15 May 2011 12:19:23 -0400 Message-ID: To: "Jack L. Stone" Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: find and remove ? 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: Sun, 15 May 2011 16:19:54 -0000 > The comamnd: > #find /path/to/start/deleting -type d -name _vti_\* > worked fine to give the listing of what to delete, but when just adding the > "-delete" at the end didn't delete, just ran the listing again. I forgot that adding the -type d won't let it delete non-empty directories. Try running it like: find /path/to/start/deleting -name _vti_\* -delete > > (^_^) -- Eitan Adler