for i in {100..200}; do data=$(ls -lrt --full-time | grep audit.log.$i | awk '{print $6}'); czas=$(ls -lrt | grep audit.log.$i | awk '{print $8}'); mv audit.log.$i audit.log.$data-$czas-$i; gzip -v audit.log.$data-$czas-$i;
Paste Hosted With By Wklejamy.pl