From owner-freebsd-questions Sun Jul 12 09:30:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA13437 for freebsd-questions-outgoing; Sun, 12 Jul 1998 09:30:34 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from elvis.vnet.net (elvis.vnet.net [166.82.1.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA13430 for ; Sun, 12 Jul 1998 09:30:30 -0700 (PDT) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by elvis.vnet.net (8.8.8/8.8.4) with ESMTP id MAA06424; Sun, 12 Jul 1998 12:30:25 -0400 (EDT) Received: from lakes.dignus.com (lakes [10.0.0.3]) by dignus.com (8.8.8/8.8.5) with ESMTP id NAA27100; Sun, 12 Jul 1998 13:07:11 -0400 (EDT) Received: (from rivers@localhost) by lakes.dignus.com (8.8.8/8.6.9) id MAA15124; Sun, 12 Jul 1998 12:33:55 -0400 (EDT) Date: Sun, 12 Jul 1998 12:33:55 -0400 (EDT) From: Thomas David Rivers Message-Id: <199807121633.MAA15124@lakes.dignus.com> To: miker@scifair.acadiau.ca, questions@FreeBSD.ORG Subject: Re: copying many files at once In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Hi. > This is a silly question, but in its sillyness I can't make it work! > > [root@frodo www]# mv ../page* . > bash: /bin/mv: Argument list too long > > There are about 50,000 files that begin with 'page' and I want to move 'em > all into the /var/spool/www directory from /var/spool > > mv doesn't seem to like what the shell does to the '*' Any ideas? > > -Mike > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > Yes - you need to use 'xargs'. See the xargs man page. - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message