From owner-freebsd-questions@freebsd.org Sun Jul 1 22:20:02 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85EBEFE000B for ; Sun, 1 Jul 2018 22:20:02 +0000 (UTC) (envelope-from paul.schmehl@gmail.com) Received: from mail-ot0-x231.google.com (mail-ot0-x231.google.com [IPv6:2607:f8b0:4003:c0f::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 11D9980EAA for ; Sun, 1 Jul 2018 22:20:02 +0000 (UTC) (envelope-from paul.schmehl@gmail.com) Received: by mail-ot0-x231.google.com with SMTP id i17-v6so15420047otl.1 for ; Sun, 01 Jul 2018 15:20:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:reply-to:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-disposition; bh=DfLvUKSXj6x8JhS8wjMy2qzT6XYy0H/AWUeQ35KB/Gg=; b=Bl+1nHEWslkamR6OFC2ZW36z7DIxkVKBf2V/s96LoBhgTEoKfRMDobNWVR7Zqx17uT nAjdzrnjiz2K/EVXRbWl3ePgv2JgbNKsoQXgz7eObl+ocg5pOdPuupHueLtnYN5Y2Wt7 tZtWsmOzaY0nO6pEfzkqjASInQke5lBNVxJMuU4JofWehjhtSr78uG+ZBMiislprS8CJ NzkVlBm6f9QqeWZCw8ffcECVGA+Qw4y04N7TG0JHl6dPT03MwS88MHUP+pe6aEWH6OcN iD7WJAWa5nqxU94sS724uhj2vT9hZ1zO3fRqg4TKt1qfpHIkszq5ZF7owMYkLvSmZ1kB SmZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:reply-to:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding :content-disposition; bh=DfLvUKSXj6x8JhS8wjMy2qzT6XYy0H/AWUeQ35KB/Gg=; b=QDpg+fuZ448BAhVd+9g/c6onHEQiP9Ctlhu29QpPHNz5FSrC9rgy3UXoEo7xxBuFRv BZFgdJrO2L8mdCjqhoPOpR7T5uSD0zAKbnycSsMoJ5oZnB73TZrxM3uD7NSl1lkK/Rbc KeTCZOxUEDp+naK9mPFkN33JPh5yeT/wZeEZ3wb3R7aDik16dpxnJGNaHI1L6jyCeEUy /tCINmES1Hifofgj0YtFfVTo+psx1DC7wk4/ZOYfiPyTu7Kuo+egG6IJZp5H3CC2nSRE +Bx6JpmOGrM2m0+nzDYCFyBejfTfQm62eXqicE8RMwU/17XsqvVcz1FE+Ne7zqUxqGCk /v5A== X-Gm-Message-State: APt69E0CrypbAUO8wsM1Kh1GujdUEZqydXO805AVEItg/k+XVd3Xk6ao 15Ap+pCLjoATKbPwmkKrdKY= X-Google-Smtp-Source: AAOMgpcy5TGkqn5n/ZA1UKFQukCjRzo/7X/6aN8LbOv5qQGTZiN0i/yYBdwL5JgK1A8JhO2bqAWdHw== X-Received: by 2002:a9d:5f85:: with SMTP id g5-v6mr20775oti.126.1530483601002; Sun, 01 Jul 2018 15:20:01 -0700 (PDT) Received: from [192.168.0.10] (cpe-70-121-63-82.tx.res.rr.com. [70.121.63.82]) by smtp.gmail.com with ESMTPSA id o65-v6sm7345297oia.35.2018.07.01.15.19.59 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 01 Jul 2018 15:20:00 -0700 (PDT) Date: Sun, 01 Jul 2018 17:19:58 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: "John R. Levine" cc: freebsd-questions@freebsd.org Subject: Re: Problem deleting files Message-ID: In-Reply-To: References: <20180701202153.A94AA28BD3C2@ary.local> <010DDED160955AC68C7EFA46@Pauls-MacBook-Pro.local> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2018 22:20:02 -0000 --On July 1, 2018 at 4:01:48 PM -0500 "John R. Levine" wrote: >>> $ rm -rf . >>> >>> (Be really sure you're in the right directory.) >> >> Yes, I did. It returned argument list too long. > > Not to contradict you, but the phrase "too long" does not appear in the > source code to the rm program, and I am reasonably sure it does not > produce that message. On the other hand the shell does produce that > message when expanding wild cards. So are you sure you tried this: > > $ rm -rf . > > and not this? > > $ rm -rf * > > They're not the same. > # rm -fr . rm: "." and ".." may not be removed # rm -fr * bash: /bin/rm: Argument list too long > Regards, > John Levine, johnl@iecc.com, Primary Perpetrator of "The Internet for > Dummies", > Please consider the environment before reading this e-mail. https://jl.ly > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Paul Schmehl Independent Researcher