From mboxrd@z Thu Jan 1 00:00:00 1970 From: ingmar@exherbo.org (Ingmar Vanhassel) Date: Tue, 07 Jul 2009 18:19:14 +0200 Subject: [sup-talk] Backups ? In-Reply-To: <20090707112635.14736pk1mxi8r9k4@webmail.seas.upenn.edu> References: <20090707130844.GA23073@gmx.de> <20090707112635.14736pk1mxi8r9k4@webmail.seas.upenn.edu> Message-ID: <1246983494-sup-6924@cannonball> Excerpts from wagnerdm's message of Tue Jul 07 17:26:35 +0200 2009: > Quoting Marc Weber : > > > ls -1t "$dump_dir"/sup-dumps-* | { read; read; read; read; cat } | xargs rm > > "{ read; read; read; read; cat }" could probably better be done as > "tail +5"; makes it easier to adjust to people's choice of backup > count, too. ;-) > - Daniel "Bikeshedder" Wagner "tail -n+5", which is POSIX compatible -- Exherbo KDE, X.org maintainer