#find web access log files in backups – only take one from each date – put them together in date order in one file #!/bin/bash FOO=`find /backups/*/a/var/log/nginx -name "access.log*" -ls|cut -b 60-|sort -k 1 -k Read more
I went through a bunch of iterations with this a couple years ago and didn’t get it working. This is the second one I tried recently and was able to get what I wanted for Read more
0 Comments