From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qivp2-0001sN-Qo for garchives@archives.gentoo.org; Mon, 18 Jul 2011 21:57:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D30421C0A3; Mon, 18 Jul 2011 21:57:41 +0000 (UTC) Received: from mail-ey0-f171.google.com (mail-ey0-f171.google.com [209.85.215.171]) by pigeon.gentoo.org (Postfix) with ESMTP id BF5B921C040 for ; Mon, 18 Jul 2011 21:56:40 +0000 (UTC) Received: by eye22 with SMTP id 22so1762959eye.2 for ; Mon, 18 Jul 2011 14:56:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=+WkyqEdN0OSvz1cYs+ng3BO92DNZEG6OIbjgbzuFA8U=; b=pUYWI7RZxC5INoAeYyLYXyiQSnqijd6sN4o/Mk6LdZd2NQv7YdXdKPUN5JiTxQt6Gq 03BHMYMiOLkrkPf/TMzp8SR8CvvhHlH6ANRTYsZuZqxHRCxcF3jNB/9bQr36F/teACgl HKNqgchl6TObq9j8lS7hESgNTf9Q0xmKAqckM= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.14.5.202 with SMTP id 50mr2507906eel.81.1311026199910; Mon, 18 Jul 2011 14:56:39 -0700 (PDT) Received: by 10.14.50.203 with HTTP; Mon, 18 Jul 2011 14:56:39 -0700 (PDT) In-Reply-To: <20110718094824.079dce7a@zaphod.digimed.co.uk> References: <20110717205303.6263aa02@karnak.local> <16810050.Acf57OJLs1@nazgul> <1310951110.304502.9.camel@localhost.localdomain> <20110718094824.079dce7a@zaphod.digimed.co.uk> Date: Mon, 18 Jul 2011 14:56:39 -0700 Message-ID: Subject: Re: [gentoo-user] Any way around "Argument list too long"? From: Grant To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: f35d98a50eb58514d77cdcae62b33963 >> Alright, find is tricky. =A0Is this the right spot for -delete? >> >> /usr/bin/find /home/user -type f -name "*-`/bin/date -d 'yesterday' >> +\%Y\%m\%d`*.jpg" - delete > > Yes, but if you don't want irreversible mistakes, move the files instead. > > find /home/user -type f -name blah -exec mv -t ~/.Trashcan "{}" + Thanks Neil and everyone. - Grant