Tag Info

New answers tagged


Looks like logrotate is piping to the compresscmd, so you'll need to write a script which can handle the pipe. I'm sure perl / python could provide a more elegant solution, but here is what I was able to cobble together in bash: with compresscmd /root/mycompress.bash mycompress.bash: #!/bin/bash ## set the field separator to NULL IFS='' ## ...

Top 50 recent answers are included