From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 09:03:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E50D16A4CE for ; Thu, 8 Apr 2004 09:03:03 -0700 (PDT) Received: from dyer.circlesquared.com (host217-45-219-83.in-addr.btopenworld.com [217.45.219.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2406343D1F for ; Thu, 8 Apr 2004 09:03:00 -0700 (PDT) (envelope-from peter@circlesquared.com) Received: from circlesquared.com (localhost.petanna.net [127.0.0.1]) i38G6Hdu035481 for ; Thu, 8 Apr 2004 17:06:28 +0100 (BST) (envelope-from peter@circlesquared.com) Message-ID: <40757879.1010307@circlesquared.com> Date: Thu, 08 Apr 2004 17:06:17 +0100 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7b) Gecko/20040327 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Question List Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Pipes and commands that require two arguments X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 16:03:03 -0000 I'm stuck with this, so hope nobody will mind the fact that is isn't strictly a FreeBSD question. I want to redirect the output of a command to mv(1) as the source file, and specify somehow a destination directory. Basically, I have to move several thousand files whose names match a number of patterns to a single directory. Any suggestions will be gratefully received. PWR.