Blame contrib/bzip2.sh

Packit 762fc5
#!/bin/bash
Packit 762fc5
#
Packit 762fc5
# Lifted from E-mails by Sven.Hartrumpf@fernuni-hagen.de
Packit 762fc5
#
Packit 762fc5
# The idea is to set database_out=stderr in aide.conf you can then use
Packit 762fc5
# this one liner to decompress aide.db and recompress aide.db.new
Packit 762fc5
Packit 762fc5
bzcat aide.db.bz2 | ( /media/floppy/aide -c aide.conf --verbose=0 -u 1> /tmp/aideu.log ) 2>&1 | bzip2 -9 > aide.db.new