From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 25 Oct 2004 17:21:21 +0400 From: "Artem K. Jouravsky" To: community@altlinux.ru Subject: Re: [Comm] big email folders? Message-ID: <20041025132121.GA28554@ujo.office.sema.ru> Mail-Followup-To: community@altlinux.ru References: <1098548873.4040.131.camel@localhost.localdomain> <20041025054602.GC10842@ujo.office.sema.ru> <20041025105615.GE3290@wrars-comp.wrarsdomain> <20041025113434.GA24496@ujo.office.sema.ru> <20041025130929.GI3290@wrars-comp.wrarsdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sdtB3X0nJg68CQEu" Content-Disposition: inline In-Reply-To: <20041025130929.GI3290@wrars-comp.wrarsdomain> X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2004 13:21:25 -0000 Archived-At: List-Archive: List-Post: --sdtB3X0nJg68CQEu Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 25, 2004 at 07:09:29PM +0600, Andrey Rahmatullin wrote: >=20 > On Mon, Oct 25, 2004 at 03:34:34PM +0400, Artem K. Jouravsky wrote: > > > =E1 =D3 =D0=D2=C5=D6=CE=C5=C7=CF =CD=C5=D3=D4=C1 =CF=CE=C9 =D5=C4=C1= =CC=D1=C0=D4=D3=D1? > > =EB=CF=CE=C5=DE=CE=CF, =C9=CE=C1=DE=C5 =CB=C1=CB=CF=CA =D3=CD=D9=D3=CC? > =E1 =DE=C5=CD? =E7=D2=C5=D0=CD=C1=CA=CC =D7=D2=CF=C4=C5 =D5=C4=C1=CC=D1= =D4=D8 =CE=C5 =D5=CD=C5=C5=D4. for i in $MBOXES; do [ -f "$i" ] || continue ARCDIR=3D"$ARCROOT/$i" [ -d "$ARCDIR" ] || mkdir "$ARCDIR" ARCMBOX=3D"$ARCDIR/`date -d "$KEEP ago" +$DATEFMT`" TMPFILE=3D"`mktemp $i.tmp-XXXXXX`" grepmail -had "$SINCEAFTER $KEEP ago" "$i" > "$TMPFILE" [ -f "$ARCMBOX" ] && echo "WARNING: $ARCMBOX already exists!" grepmail -vhad "$SINCEAFTER $KEEP ago" "$i" >> "$ARCMBOX" mv "$TMPFILE" "$i" chmod $MODE "$i" done -- =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E1=D2=D4=A3=CD. =FA=E1=EF "=F3=E5=ED=E1.=F2=F5" ************ Never put off till run-time what you can do at compile-time. -- D. Gries --sdtB3X0nJg68CQEu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBfP3RDpmbQtydvqYRAkANAJ4zNq5DPv+CgoiFFZKKiJcIgWA6PQCglpys kW3mMqDYi4awT9ygqLkFcow= =JF/h -----END PGP SIGNATURE----- --sdtB3X0nJg68CQEu--