BASH

By kimot, 27 December, 2022
find -mtime +30 -type f -a \( -name "access*" -o -name "error*" \) -printf 'zip ./archive/archive-%TY%Tm.zip %f; rm %f\n' |sh

By kimot, 27 December, 2022
yum list available
http://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/repodata/repomd.xml: [Errno 12] Timeout on http://public.dhe.ibm.com/software/ibmi/products/pase/rpms/repo/repodata/repomd.xml: (28, 'Operation too slow.