Date: Wed, 15 Jul 1998 22:19:16 -0300 (ADT) From: Michael Richards <miker@scifair.acadiau.ca> To: Jeremy Shaffner <jer@jorsm.com> Cc: Thomas Dean <tomdean@ix.netcom.com>, questions@FreeBSD.ORG Subject: Re: copying many files at once Message-ID: <Pine.BSF.3.96.980715221041.25232A-100000@scifair.acadiau.ca> In-Reply-To: <Pine.BSF.3.95q.980714175233.13648L-100000@mercury.jorsm.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ugh. I guess I forgot to mention that they are small files, but 60,000 of them add up. There are about 4 gigs of files. I ended up piping ls through a series of awk and grep to give myself a shell script that moved them over in small enough chunks... Someone mentioned xargs, a proggie I forgot about from my old linux days! A little know solution. Now that I don't have a failing hard drive worth of files to deal with... -Mike On Tue, 14 Jul 1998, Jeremy Shaffner wrote: > Seems like alot of work. Just tar it up, and pipe it back to tar and > into the destination. > > On Sun, 12 Jul 1998, Thomas Dean wrote: > > > foreach i ( a b c d e f g h i j 0 1 2 3 4 5 6 7 8 9 ) > > > mv ../page${i}* . > > > end > > > foreach i ( A B C D E F G H I J ) ) > > > mv ../page${i}* . >& /dev/null > > > end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980715221041.25232A-100000>